Jim Ferenczi created LUCENE-10208:
-------------------------------------

             Summary: Minimum score can decrease in concurrent search
                 Key: LUCENE-10208
                 URL: https://issues.apache.org/jira/browse/LUCENE-10208
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Jim Ferenczi


TestLatLonPointDistanceFeatureQuery#testCompareSorting started to fail 
sporadically after https://github.com/apache/lucene/pull/331. 
The test change added in this PR exposes an existing bug in top docs collector. 
They re-set the minimum score multiple times per segment when a bulk scorer is 
used.
In practice this is not a problem because the local minimum score cannot 
decrease. 
However when concurrent search is used,  the global minimum score is updated 
after the local one so that breaks the assertion.




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

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

Reply via email to