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

Query elevation fails when localParams are used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10.1
    • 4.10.2, 5.0, 6.0
    • search
    • 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

            janhoy Jan Høydahl
            rurbas Radek Urbas
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: