You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2009/11/10 23:27:27 UTC

[jira] Commented: (LUCENE-1557) Make constant-score rewrite the default for multi-term queries

    [ https://issues.apache.org/jira/browse/LUCENE-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776120#action_12776120 ] 

Robert Muir commented on LUCENE-1557:
-------------------------------------

Uwe,  I am a little confused about this issue. The MultiTermQuery now has a lot of smarts with regards to this. I feel it is obselete

Is this kept open just for the FuzzyQuery? 

> Make constant-score rewrite the default for multi-term queries
> --------------------------------------------------------------
>
>                 Key: LUCENE-1557
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1557
>             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 off.
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org