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

Query elevation fails when localParams are used

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.1
    • Fix Version/s: 4.10.2, 5.0, 6.0
    • Component/s: search
    • Labels:
      None

      Description

      Elevation does not work when localParams are specified.
      In example collection1 shipped with Solr query like this one

      http://localhost:8983/solr/collection1/elevate?q=ipod&fl=id,title,[elevated]

      properly returns elevated documents on top.

      If localParams are specified e.g.

      {!q.op=AND}

      in query like

      http://localhost:8983/solr/collection1/elevate?q=\{!q.op=AND\}ipod&fl=id,title,[elevated]

      documents are not elevated anymore.

        Attachments

        1. SOLR-6573.patch
          3 kB
          Jan Høydahl
        2. SOLR-6573.patch
          3 kB
          Jan Høydahl

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              rurbas Radek Urbas
            • Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: