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

edismax treat operator as a keyword when a query parameter 'qf' contains inexist field.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.2.1, 5.5.1, 6.2.1
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      edismax treat operator as a keyword when a query parameter 'qf' contains inexist field.

      ex. ('hoge' does not existing in the schema.)
      q=Japan OR Tokyo
      defType=edismax
      qf=title hoge

      you will get result containing keywords 'Japan' or 'OR' or 'Tokyo' in Title.
      also, you can get the following parsed query with debugQuery=true.

      <str name="parsedquery_toString">+((title:Japan) (title:OR) (title:Tokyo))</str>
      

        Attachments

        1. SOLR-9677.patch
          3 kB
          Takumi Yoshida

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yoshi0309 Takumi Yoshida
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: