Field CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE
Like SCORING_BOOLEAN_QUERY_REWRITE except scores are not computed. Instead, each matching document receives a constant score equal to the query's boost.
NOTE: This rewrite method will hit BooleanQuery.TooManyClauses if the number of terms exceeds MaxClauseCount.
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.NetCore.dll
Syntax
public static readonly RewriteMethod CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE
Returns
Type | Description |
---|---|
RewriteMethod |