lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-1557) Make constant-score rewrite the default for multi-term queries
Date Tue, 10 Nov 2009 22:53:27 GMT

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

Uwe Schindler edited comment on LUCENE-1557 at 11/10/09 10:51 PM:
------------------------------------------------------------------

This issue is no longer relevant. All classes were deprecated in 2.9 and now removed and there
is nothing to change anymore.

      was (Author: thetaphi):
    This issue is no longer relevant. All classes were deprecated and there is nothing to
change anymore.
  
> 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


Mime
View raw message