Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10208

Minimum score can decrease in concurrent search

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.11
    • None
    • None
    • New

    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

          Activity

            People

              Unassigned Unassigned
              jimczi Jim Ferenczi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h