Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMembers.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMembers.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMembers.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMembers.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,83 @@ + + + + + NullFragmenter Members + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

NullFragmenter Members +

+
+
+
+

+ NullFragmenter overview +

+

Public Instance Constructors

+
+ + + + + +
+ + NullFragmenter Constructor + Initializes a new instance of the NullFragmenter class.
+
+

Public Instance Methods

+
+ + + + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
IsNewFragment 
Start 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize (inherited from Object) + Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. +
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ NullFragmenter Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMethods.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMethods.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMethods.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.NullFragmenterMethods.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,64 @@ + + + + + NullFragmenter Methods + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

NullFragmenter Methods

+
+
+
+

The methods of the NullFragmenter class are listed below. For a complete list of NullFragmenter class members, see the NullFragmenter Members topic.

+

Public Instance Methods

+
+ + + + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
IsNewFragment 
Start 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize (inherited from Object) + Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. +
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ NullFragmenter Class | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.AllFragmentsProcessed.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.AllFragmentsProcessed.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.AllFragmentsProcessed.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.AllFragmentsProcessed.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,42 @@ + + + + + QueryScorer.AllFragmentsProcessed Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer.AllFragmentsProcessed Method 

+
+
+
+

+

+
public virtual void AllFragmentsProcessed();
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetFragmentScore.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetFragmentScore.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetFragmentScore.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetFragmentScore.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,46 @@ + + + + + QueryScorer.GetFragmentScore Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer.GetFragmentScore Method 

+
+
+
+

+

+
public virtual float GetFragmentScore();
+

Implements

+

+ Scorer.GetFragmentScore +

+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetMaxTermWeight.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetMaxTermWeight.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetMaxTermWeight.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetMaxTermWeight.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,43 @@ + + + + + QueryScorer.GetMaxTermWeight Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer.GetMaxTermWeight Method 

+
+
+
+

+
public virtual float GetMaxTermWeight();
+

Return Value

+

The highest weighted term (useful for passing to GradientFormatter to set top end of coloring scale.

+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetTokenScore.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetTokenScore.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetTokenScore.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.GetTokenScore.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,46 @@ + + + + + QueryScorer.GetTokenScore Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer.GetTokenScore Method 

+
+
+
+

+

+
public virtual float GetTokenScore(
   Token token
);
+

Implements

+

+ Scorer.GetTokenScore +

+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.StartFragment.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.StartFragment.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.StartFragment.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.StartFragment.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,46 @@ + + + + + QueryScorer.StartFragment Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer.StartFragment Method 

+
+
+
+

+

+
public virtual void StartFragment(
   TextFragment newFragment
);
+

Implements

+

+ Scorer.StartFragment +

+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorer.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,55 @@ + + + + + QueryScorer Class + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Class

+
+
+
+

{@link Scorer} implementation which scores text fragments by the number of unique query terms found. This class uses the {@link QueryTermExtractor} class to process determine the query terms and their boosts to be used.

+

For a list of all members of this type, see QueryScorer Members.

+

+ System.Object +
   Lucene.Net.Highlight.QueryScorer

+
+
public class QueryScorer : Scorer
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + Lucene.Net.Highlight +

+

+ Assembly: Highlighter.Net (in Highlighter.Net.dll) +

+

See Also

+

+ QueryScorer Members | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,53 @@ + + + + + QueryScorer Constructor + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Constructor

+
+
+
+

+

Overload List

+

 

+
+ public QueryScorer(WeightedTerm[]); +
+

+
+ public QueryScorer(Query); +
+

+
+ public QueryScorer(Query,IndexReader,string); +
+

+
+ public QueryScorer(Query,string); +
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor1.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor1.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor1.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor1.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,40 @@ + + + + + QueryScorer Constructor (Query) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Constructor (Query)

+
+
+
+

+
public QueryScorer(
   Query query
);
+

Parameters

+
+
+ query +
+
a Lucene query (ideally rewritten using query.rewrite before being passed to this class and the searcher)
+
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace | QueryScorer Constructor Overload List

+
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor2.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor2.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor2.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor2.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,44 @@ + + + + + QueryScorer Constructor (Query, String) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Constructor (Query, String)

+
+
+
+

+
public QueryScorer(
   Query query,
   string fieldName
);
+

Parameters

+
+
+ query +
+
a Lucene query (ideally rewritten using query.rewrite before being passed to this class and the searcher)
+
+ fieldName +
+
the Field name which is used to match Query terms
+
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace | QueryScorer Constructor Overload List

+
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor3.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor3.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor3.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor3.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,48 @@ + + + + + QueryScorer Constructor (Query, IndexReader, String) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Constructor (Query, IndexReader, String)

+
+
+
+

+
public QueryScorer(
   Query query,
   IndexReader reader,
   string fieldName
);
+

Parameters

+
+
+ query +
+
a Lucene query (ideally rewritten using query.rewrite before being passed to this class and the searcher)
+
+ reader +
+
used to compute IDF which can be used to a) score selected fragments better b) use graded highlights eg set font color intensity
+
+ fieldName +
+
the field on which Inverse Document Frequency (IDF) calculations are based
+
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace | QueryScorer Constructor Overload List

+
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor4.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor4.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor4.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerConstructor4.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,34 @@ + + + + + QueryScorer Constructor (WeightedTerm[]) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Constructor (WeightedTerm[])

+
+
+
+

+

+
public QueryScorer(
   WeightedTerm[] weightedTerms
);
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace | QueryScorer Constructor Overload List

+
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMembers.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMembers.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMembers.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMembers.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,86 @@ + + + + + QueryScorer Members + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Members +

+
+
+
+

+ QueryScorer overview +

+

Public Instance Constructors

+
+ + + + + +
+ + QueryScorer + Overloaded. Initializes a new instance of the QueryScorer class.
+
+

Public Instance Methods

+
+ + + + + + + + + +
AllFragmentsProcessed 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetFragmentScore 
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetMaxTermWeight
GetTokenScore 
GetType (inherited from Object) + Gets the Type of the current instance. +
StartFragment 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize (inherited from Object) + Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. +
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMethods.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMethods.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMethods.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryScorerMethods.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,67 @@ + + + + + QueryScorer Methods + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryScorer Methods

+
+
+
+

The methods of the QueryScorer class are listed below. For a complete list of QueryScorer class members, see the QueryScorer Members topic.

+

Public Instance Methods

+
+ + + + + + + + + +
AllFragmentsProcessed 
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetFragmentScore 
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetMaxTermWeight
GetTokenScore 
GetType (inherited from Object) + Gets the Type of the current instance. +
StartFragment 
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

Protected Instance Methods

+
+ + +
Finalize (inherited from Object) + Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. +
MemberwiseClone (inherited from Object) + Creates a shallow copy of the current Object. +
+
+

See Also

+

+ QueryScorer Class | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetIdfWeightedTerms.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetIdfWeightedTerms.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetIdfWeightedTerms.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetIdfWeightedTerms.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,58 @@ + + + + + QueryTermExtractor.GetIdfWeightedTerms Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor.GetIdfWeightedTerms Method 

+
+
+
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
public static WeightedTerm[] GetIdfWeightedTerms(
   Query query,
   IndexReader reader,
   string fieldName
);
+

Parameters

+
+
+ query +
+
Query to extract term texts from
+
+ reader +
+
used to compute IDF which can be used to a) score selected fragments better b) use graded highlights eg chaning intensity of font color
+
+ fieldName +
+
the field on which Inverse Document Frequency (IDF) calculations are based
+
+

Return Value

+

an array of the terms used in a query, plus their weights.

+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_1.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_1.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_1.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_1.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,50 @@ + + + + + QueryTermExtractor.GetTerms Method (Query) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor.GetTerms Method (Query)

+
+
+
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
public static WeightedTerm[] GetTerms(
   Query query
);
+

Parameters

+
+
+ query +
+
Query to extract term texts from
+
+

Return Value

+

an array of the terms used in a query, plus their weights.

+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace | QueryTermExtractor.GetTerms Overload List

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_2.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_2.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_2.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_2.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,59 @@ + + + + + QueryTermExtractor.GetTerms Method (Query, Boolean, String) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor.GetTerms Method (Query, Boolean, String)

+
+
+
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
public static WeightedTerm[] GetTerms(
   Query query,
   bool prohibited,
   string fieldName
);
+

Parameters

+
+
+ query +
+
Query to extract term texts from
+
+ prohibited +
+
+
true
to extract "prohibited" terms, too
+
+ fieldName +
+
The fieldName used to filter query terms
+
+

Return Value

+

an array of the terms used in a query, plus their weights.

+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace | QueryTermExtractor.GetTerms Overload List

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_3.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_3.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_3.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overload_3.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,55 @@ + + + + + QueryTermExtractor.GetTerms Method (Query, Boolean) + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor.GetTerms Method (Query, Boolean)

+
+
+
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
public static WeightedTerm[] GetTerms(
   Query query,
   bool prohibited
);
+

Parameters

+
+
+ query +
+
Query to extract term texts from
+
+ prohibited +
+
+
true
to extract "prohibited" terms, too
+
+

Return Value

+

an array of the terms used in a query, plus their weights.

+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace | QueryTermExtractor.GetTerms Overload List

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overloads.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overloads.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overloads.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.GetTerms_overloads.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,45 @@ + + + + + GetTerms Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor.GetTerms Method

+
+
+
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+

Overload List

+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
+ public static WeightedTerm[] GetTerms(Query); +
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
+ public static WeightedTerm[] GetTerms(Query,bool); +
+

Extracts all terms texts of a given Query into an array of WeightedTerms

+
+ public static WeightedTerm[] GetTerms(Query,bool,string); +
+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace

+
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractor.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,55 @@ + + + + + QueryTermExtractor Class + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor Class

+
+
+
+

Utility class used to extract the terms used in a query, plus any weights. This class will not find terms for MultiTermQuery, RangeQuery and PrefixQuery classes so the caller must pass a rewritten query (see Query.rewrite) to obtain a list of expanded terms.

+

For a list of all members of this type, see QueryTermExtractor Members.

+

+ System.Object +
   Lucene.Net.Highlight.QueryTermExtractor

+
+
public sealed class QueryTermExtractor
+
+

Thread Safety

+

Public static (Shared in Visual Basic) members of this type are + safe for multithreaded operations. Instance members are not guaranteed to be + thread-safe.

+

Requirements

+

+ Namespace: + Lucene.Net.Highlight +

+

+ Assembly: Highlighter.Net (in Highlighter.Net.dll) +

+

See Also

+

+ QueryTermExtractor Members | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorConstructor.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorConstructor.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorConstructor.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorConstructor.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,37 @@ + + + + + QueryTermExtractor Constructor + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor Constructor 

+
+
+
+

Initializes a new instance of the QueryTermExtractor class.

+
public QueryTermExtractor();
+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMembers.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMembers.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMembers.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMembers.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,77 @@ + + + + + QueryTermExtractor Members + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor Members +

+
+
+
+

+ QueryTermExtractor overview +

+

Public Static Methods

+
+ + +
GetIdfWeightedTerms Extracts all terms texts of a given Query into an array of WeightedTerms
GetTermsOverloaded. Extracts all terms texts of a given Query into an array of WeightedTerms
+
+

Public Instance Constructors

+
+ + + + + +
+ + QueryTermExtractor Constructor + Initializes a new instance of the QueryTermExtractor class.
+
+

Public Instance Methods

+
+ + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMethods.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMethods.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMethods.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.QueryTermExtractorMethods.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,58 @@ + + + + + QueryTermExtractor Methods + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

QueryTermExtractor Methods

+
+
+
+

The methods of the QueryTermExtractor class are listed below. For a complete list of QueryTermExtractor class members, see the QueryTermExtractor Members topic.

+

Public Static Methods

+
+ + +
GetIdfWeightedTerms Extracts all terms texts of a given Query into an array of WeightedTerms
GetTermsOverloaded. Extracts all terms texts of a given Query into an array of WeightedTerms
+
+

Public Instance Methods

+
+ + + + +
Equals (inherited from Object) + Determines whether the specified Object is equal to the current Object. +
GetHashCode (inherited from Object) + Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. +
GetType (inherited from Object) + Gets the Type of the current instance. +
ToString (inherited from Object) + Returns a String that represents the current Object. +
+
+

See Also

+

+ QueryTermExtractor Class | Lucene.Net.Highlight Namespace

+ + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetFragmentScore.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetFragmentScore.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetFragmentScore.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetFragmentScore.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,42 @@ + + + + + Scorer.GetFragmentScore Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

Scorer.GetFragmentScore Method 

+
+
+
+

Called when the highlighter has no more tokens for the current fragment - the scorer returns the weighting it has derived for the most recent fragment, typically based on the tokens passed to getTokenScore().

+
+ float GetFragmentScore();
+

See Also

+

+ Scorer Interface | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file Added: incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetTokenScore.html URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetTokenScore.html?view=auto&rev=493946 ============================================================================== --- incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetTokenScore.html (added) +++ incubator/lucene.net/site/docs/2.0/Highlighter.Net/Lucene.Net.Highlight.Scorer.GetTokenScore.html Sun Jan 7 20:49:41 2007 @@ -0,0 +1,51 @@ + + + + + Scorer.GetTokenScore Method + + + + + +
+
+ + + + + +
Highlighter.Net 2.0.0 +
+
+
+

Scorer.GetTokenScore Method 

+
+
+
+

Called for each token in the current fragment

+
+ float GetTokenScore(
   Token token
);
+

Parameters

+
+
+ token +
+
The token to be scored
+
+

Return Value

+

a score which is passed to the Highlighter class to influence the mark-up of the text (this return value is NOT used to score the fragment)

+

See Also

+

+ Scorer Interface | Lucene.Net.Highlight Namespace

+ + + + + + + + +
+ + \ No newline at end of file