Like {@link #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 {@link
BooleanQuery.TooManyClauses} if the number of terms
exceeds {@link BooleanQuery#getMaxClauseCount}.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static readonly MultiTermQuery..::..RewriteMethod CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE |
Visual Basic |
---|
Public Shared ReadOnly CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE As MultiTermQuery..::..RewriteMethod |
Visual C++ |
---|
public: static initonly MultiTermQuery..::..RewriteMethod^ CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE |