Description
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.
Attachments
Issue Links
- links to