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

Query elevation fails when localParams are used

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment