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

Local params not working when parser edismax is present in q & defType parameter both

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Bug
    • Affects Version/s: 7.5
    • Fix Version/s: None
    • Component/s: query parsers, search
    • Labels:
      None
    • Environment:

      OS - RHEL CENTOS7 & WINDOWS 10

      RAM - 16GB

      Mode - Solr cloud

      Description

      Solr version 7.5 is returning the zero results while using the localParams with the edismax parser which is present in q & defType parameter both.

      However it is giving results if we are not passing the defType=edismax.

      Steps to replicate:

      1) index some data to any collection

      2) search on any field using localParams query e.g. q="{!edismax qf=status_s v=$qq}" & qq=SUCCESS

      3) Results will be coming for the records having status_s = SUCCESS

      4) Add defType=edismax in query, it will return zero results.

       

      Same is working fine with Solr 6.6.2

        Attachments

        1. image-2019-06-19-11-54-54-674.png
          68 kB
          Aman Tandon
        2. image-2019-06-19-11-52-07-405.png
          58 kB
          Aman Tandon

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              amantandon3091 Aman Tandon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: