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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.2.1, 5.5.1, 6.2.1
    • None
    • None
    • 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

            Unassigned Unassigned
            yoshi0309 Takumi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: