A rewrite method that first translates each term into
{@link BooleanClause.Occur#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 {@link
#CONSTANT_SCORE_AUTO_REWRITE_DEFAULT} instead.
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
See Also