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

rq/rerank does not properly adjust maxScore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When the rq param is used to re-rank top scoring documents, the maxScore of the result set is not updated accordingly...

      $ bin/solr -e techproducts
      ...
      $ curl 'http://localhost:8983/solr/techproducts/select?fl=id,score&omitHeader=true' -F 'q=id:IW-02'
      {
        "response":{"numFound":1,"start":0,"maxScore":1.4050193,"numFoundExact":true,"docs":[
            {
              "id":"IW-02",
              "score":1.4050193}]
        }}
      $ curl 'http://localhost:8983/solr/techproducts/select?fl=id,score&omitHeader=true' -F 'q=id:IW-02' -F 'rq={!rerank reRankQuery=$x}' -F 'x=manu:Belkin'
      {
        "response":{"numFound":1,"start":0,"maxScore":1.4050193,"numFoundExact":true,"docs":[
            {
              "id":"IW-02",
              "score":3.9578552}]
        }}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: