lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1860) switch MultiTermQuery to "constant score auto" rewrite by default
Date Thu, 27 Aug 2009 00:00:59 GMT


Michael McCandless commented on LUCENE-1860:

bq. should we keep the good old RangeQuery as it is (boolean rewrite)? Because there is also
the deprecated ConstantScoreRangeQuery.

I think we should?  That's what it is right now (and the patch leaves it).

> switch MultiTermQuery to "constant score auto" rewrite by default
> -----------------------------------------------------------------
>                 Key: LUCENE-1860
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.9
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>         Attachments: LUCENE-1860.patch
> Right now it defaults to scoring BooleanQuery, and that's inconsistent w/ QueryParser
which does constant score auto.
> The new multi-term queries already set this default, so the only core queries this will
impact are PrefixQuery and WildcardQuery.  FuzzyQuery, which has its own rewrite to BooleanQuery,
will keep doing so.

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