lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-1557) Make constant-score rewrite the default for multi-term queries
Date Tue, 10 Nov 2009 22:31:28 GMT


Uwe Schindler commented on LUCENE-1557:

It is almost obsolete. Fuzzy is fixed to boolean rewrite. The other queries have no longer
any other modes. Only at some places in contrib are fixed rewrite setting, whcih I simply

Everywhere else, the defaults are already correct, RangeQuery & Co are gone (deprecated)
and the new ones were already in auto mode. The patch only contains cleanup. We can close
this soon.

I want to get out 3.0.

> Make constant-score rewrite the default for multi-term queries
> --------------------------------------------------------------
>                 Key: LUCENE-1557
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.4.1
>            Reporter: Michael McCandless
>            Assignee: Uwe Schindler
>            Priority: Minor
>             Fix For: 3.0
> For queries that expand to multiple terms (PrefixQuery, RangeQuery, FuzzyQuery, WildcardQuery),
the default now is to rewrite to a BooleanQuery, which scales poorly, and can hit the dreaded
TooManyClauses (ungraceful degradation).
> Except for FuzzyQuery (which we should fix with this issue), they all support setConstantScoreRewrite,
which scales better.
> In 3.0 we should make constantScoreRewrite the default, and leave an option to turn it
> This is a spinoff from LUCENE-998.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message