Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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]
Attachments
Issue Links
- relates to
-
SOLR-4362 edismax, phrase query with slop, pf parameter
- Open
-
SOLR-12243 Edismax missing phrase queries when phrases contain multiterm synonyms
- Closed