Class QueryTermScorer
IScorer implementation which scores text fragments by the number of unique query terms found. This class uses the QueryTermExtractor class to process determine the query terms and their boosts to be used.
Inheritance
System.Object
QueryTermScorer
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class QueryTermScorer : object, IScorer
Constructors
Name | Description |
---|---|
QueryTermScorer(WeightedTerm[]) | |
QueryTermScorer(Query) | |
QueryTermScorer(Query, IndexReader, String) | |
QueryTermScorer(Query, String) |
Properties
Name | Description |
---|---|
FragmentScore | FragmentScore |
MaxTermWeight | The highest weighted term (useful for passing to GradientFormatter to set top end of coloring scale. |
Methods
Name | Description |
---|---|
AllFragmentsProcessed() | |
GetTokenScore() | GetTokenScore() |
Init(TokenStream) | Init(TokenStream) |
StartFragment(TextFragment) |