Manor Lev-Tov created SOLR-6004:
-----------------------------------
Summary: Phrase field queries should treat "OR" differently than
"AND"
Key: SOLR-6004
URL: https://issues.apache.org/jira/browse/SOLR-6004
Project: Solr
Issue Type: Bug
Components: query parsers
Affects Versions: 4.7.2, 4.7.1, 4.7
Reporter: Manor Lev-Tov
For ExtendedDismaxParser, using phrase fields with a query that contains an
"OR" conjunction does not produce the expected shingles.
Consider the following query:
q=coffee+AND+(cup+OR+mug^0.5)
With a pf2, the expected behavior is for the generated shingles to be "coffee
cup" and "coffee mug^0.5". Instead, the generated shingles are "coffee cup" and
"cup mug^0.5"
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]