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