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.TooManyClauses if the number of terms exceeds MaxClauseCount.
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.NetCore.dll
Syntax
public static readonly RewriteMethod SCORING_BOOLEAN_QUERY_REWRITE
Returns
Type | Description |
---|---|
RewriteMethod |