You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2021/06/15 17:08:00 UTC

[jira] [Created] (SOLR-15479) rq/rerank does not properly adjust maxScore

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org