[ https://issues.apache.org/jira/browse/LUCENE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743304#action_12743304 ]
Adriano Crestani commented on LUCENE-1792: ------------------------------------------ Hi Mike, Maybe we should create a special node just to hold the CONSTANT_SCORE_AUTO_REWRITE_DEFAULT value. That's what we do on StandardBooleanQueryNode, it was created to hold a setting that only belongs to the standard query parser: disableCoord, avoiding to add to core nodes settings that are specific to certain QP implementation. Check AnalyzerQueryNodeProcessor to see how it's used. Also, we could tag the node with this setting, but I still prefer my first suggestion. > new QueryParser fails to set AUTO REWRITE for multi-term queries > ---------------------------------------------------------------- > > Key: LUCENE-1792 > URL: https://issues.apache.org/jira/browse/LUCENE-1792 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Affects Versions: 2.9 > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1792.patch, LUCENE-1792.patch > > > The old QueryParser defaults to constant score rewrite for > Prefix,Fuzzy,Wildcard,TermRangeQuery, but the new one seems not to. -- 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