Chris M. Hostetter created SOLR-15479:
-----------------------------------------

             Summary: rq/rerank does not properly adjust maxScore
                 Key: SOLR-15479
                 URL: https://issues.apache.org/jira/browse/SOLR-15479
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter


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

{noformat}
$ 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}]
  }}
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to