Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12260

edismax: Include phrase clauses as terms in pf/pf2/pf3 when SOW=false

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • query parsers
    • 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

          Activity

            People

              Unassigned Unassigned
              ehaubert Elizabeth Haubert
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: