Class QueryScorer
IScorer implementation which scores text fragments by the number of
unique query terms found. This class converts appropriate
Inheritance
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class QueryScorer : object, IScorer
Constructors
Name | Description |
---|---|
QueryScorer(WeightedSpanTerm[]) | Constructs a new QueryScorer instance |
QueryScorer(Query) | Constructs a new QueryScorer instance |
QueryScorer(Query, IndexReader, String) | Constructs a new QueryScorer instance |
QueryScorer(Query, IndexReader, String, String) | Constructs a new QueryScorer instance |
QueryScorer(Query, String) | Constructs a new QueryScorer instance |
QueryScorer(Query, String, String) | Constructs a new QueryScorer instance |
Properties
Name | Description |
---|---|
ExpandMultiTermQuery | Controls whether or not multi-term queries are expanded
against a MemoryIndex |
FragmentScore | |
MaxTermWeight | The highest weighted term (useful for passing to GradientFormatter to set top end of coloring scale). |
Methods
Name | Description |
---|---|
GetTokenScore() | |
GetWeightedSpanTerm(String) | Retrieve the WeightedSpanTerm for the specified token. Useful for passing Span information to a IFragmenter. |
Init(TokenStream) | |
NewTermExtractor(String) | |
SetMaxDocCharsToAnalyze(Int32) | |
SetWrapIfNotCachingTokenFilter(Boolean) | By default, |
StartFragment(TextFragment) |