Field SCORING_BOOLEAN_QUERY_REWRITE
A rewrite method that first translates each term into SHOULD clause in a BooleanQuery, and keeps the scores as computed by the query. Note that typically such scores are meaningless to the user, and require non-trivial CPU to compute, so it's almost always better to use CONSTANT_SCORE_AUTO_REWRITE_DEFAULT instead.
NOTE: this rewrite method will hit BooleanQuery.TooManyClausesException if the number of terms exceeds MaxClauseCount.
Assembly: DistributedLucene.Net.dll
Syntax
public static readonly MultiTermQuery.RewriteMethod SCORING_BOOLEAN_QUERY_REWRITE
Returns
Type | Description |
---|---|
MultiTermQuery.RewriteMethod |