[ https://issues.apache.org/jira/browse/LUCENE-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748213#action_12748213 ]
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: https://issues.apache.org/jira/browse/LUCENE-1860 > 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org