Field CONSTANT_SCORE_FILTER_REWRITE
A rewrite method that first creates a private Filter, by visiting each term in sequence and marking all docs for that term. Matching documents are assigned a constant score equal to the query's boost.
This method is faster than the BooleanQuery rewrite methods when the number of matched terms or matched documents is non-trivial. Also, it will never hit an errant BooleanQuery.TooManyClausesException exception.
Assembly: DistributedLucene.Net.dll
Syntax
public static readonly MultiTermQuery.RewriteMethod CONSTANT_SCORE_FILTER_REWRITE
Returns
Type | Description |
---|---|
MultiTermQuery.RewriteMethod |