Class MultiTermQuery.TopTermsScoringBooleanQueryRewrite
A rewrite method that first translates each term into SHOULD clause in a BooleanQuery, and keeps the scores as computed by the query.
This rewrite method only uses the top scoring terms so it will not overflow the boolean max clause count. It is the default rewrite method for FuzzyQuery.
Inheritance
System.Object
MultiTermQuery.TopTermsScoringBooleanQueryRewrite
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class TopTermsScoringBooleanQueryRewrite : TopTermsRewrite<BooleanQuery>, ITopTermsRewrite
Constructors
Name | Description |
---|---|
TopTermsScoringBooleanQueryRewrite(Int32) | Create a MultiTermQuery.TopTermsScoringBooleanQueryRewrite for
at most
NOTE: if MaxClauseCount is smaller than
|
Properties
Name | Description |
---|---|
MaxSize |
Methods
Name | Description |
---|---|
AddClause(BooleanQuery, Term, Int32, Single, TermContext) | |
GetTopLevelQuery() |