[ https://issues.apache.org/jira/browse/SOLR-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222676#comment-15222676 ]
Erick Erickson commented on SOLR-8812: -------------------------------------- We've got something of a time problem here. 6.0 is being released (there was an RC1, but it's being re-spun) and this JIRA is marked as a blocker. I don't think that this _should_ be a blocker for 6.0 since it's already in 5.5. And I'm reluctant to hurry a fix in to 6.0 at this late date given the discussion so far. I suspect that practically 6.0 won't be rushed into production before we get a fix for this issue (6.0.1 or 6.1 or whatever). We should fix it ASAP, but not at the expense of holding up 6.0. Thoughts? > ExtendedDismaxQParser (edismax) ignores Boolean OR when q.op=AND > ---------------------------------------------------------------- > > Key: SOLR-8812 > URL: https://issues.apache.org/jira/browse/SOLR-8812 > Project: Solr > Issue Type: Bug > Components: query parsers > Affects Versions: 5.5 > Reporter: Ryan Steinberg > Assignee: Erick Erickson > Priority: Blocker > Fix For: 6.0, 5.5.1 > > Attachments: SOLR-8812.patch, SOLR-8812.patch > > > The edismax parser ignores Boolean OR in queries when q.op=AND. This behavior > is new to Solr 5.5.0 and an unexpected major change. > Example: > "q": "id:12345 OR zzzzzzzzzz", > "defType": "edismax", > "q.op": "AND", > where "12345" is a known document ID and "zzzzzzzzzz" is a string NOT present > in my data > Version 5.5.0 produces zero results: > "rawquerystring": "id:12345 OR zzzzzzzzzz", > "querystring": "id:12345 OR zzzzzzzzzz", > "parsedquery": "(+((id:12345 > DisjunctionMaxQuery((text:zzzzzzzzzz)))~2))/no_coord", > "parsedquery_toString": "+((id:12345 (text:zzzzzzzzzz))~2)", > "explain": {}, > "QParser": "ExtendedDismaxQParser" > Version 5.4.0 produces one result as expected > "rawquerystring": "id:12345 OR zzzzzzzzzz", > "querystring": "id:12345 OR zzzzzzzzzz", > "parsedquery": "(+(id:12345 > DisjunctionMaxQuery((text:zzzzzzzzzz))))/no_coord", > "parsedquery_toString": "+(id:12345 (text:zzzzzzzzzz))" > "explain": {}, > "QParser": "ExtendedDismaxQParser" -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org