Elizabeth Haubert created SOLR-12260:
----------------------------------------
Summary: edismax: Include phrase clauses as terms in pf/pf2/pf3
Key: SOLR-12260
URL: https://issues.apache.org/jira/browse/SOLR-12260
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Components: query parsers
Reporter: Elizabeth Haubert
Phrase queries are currently built only on bareword clauses, which causes
unexpected behavior for queries with mixed quoted and bareword terms:
q:cat "allergic reaction" dog
will flag "allergic reaction" as a phrase, and so will include it in none of
pf/pf2/pf3
pf or pf2 will be generated as "cat dog".
At a minimum, it would be nice if phrases would be applied as stand-alone
entities to pf2/pf3, if they contain the appropriate number of terms. But I
think the work that has been done to accommodate graph queries should also be
able to handle these phrase terms following the pattern of:
spanNear[text:cat, spanNear(text:allergic, text:reaction, 0, true), text:dog]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]