Houston Putman created SOLR-17737:
-------------------------------------

             Summary: ReRankQuery does not respect original sorting on ties
                 Key: SOLR-17737
                 URL: https://issues.apache.org/jira/browse/SOLR-17737
             Project: Solr
          Issue Type: Improvement
          Components: reranker
            Reporter: Houston Putman


When using sorting on reranked queries, the original sort is ignored after 
reranking (for non-distributed queries). This means that if the reranked score 
has any ties, the original sort is not used as the tie-breaker. Instead 
Lucene's {{QueryRescorer}} will use the Lucene docId as the tie-breaker, which 
is pretty useless for Solr. 

Hopefully this behavior will change after 
[https://github.com/apache/lucene/issues/14455] is implemented, but for now, 
and for the rest of 9.x, this will likely not be fixable without writing our 
own {{{}QueryRescorer{}}}. 

In general, this does cause reproducible failures in 
{{TestReRankQParserPlugin.testMinExactCount:}}
{quote}{{./gradlew :solr:core:test --tests 
"org.apache.solr.search.TestReRankQParserPlugin.testMinExactCount" 
-Ptests.seed=EE770EAA60DF4F30}}
{quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to