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

MultiCollector should conditionally wrap single leaf collector

Details

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

    Description

      MultiCollector adapts the score mode of multiple collectors so that they can run together in a search. If a collector wants to skip low-scoring hits, this adapter ensures that the other collectors still see all hits. Although, when all these collectors have early terminated, we allow the skipping collector to start propagating the minimum score. This is not valid because the weight of the query is built from the combined score mode of all collectors at the beginning of the search.
      So we should always ignore the minimum score in MultiCollector if the combined score mode is different than TOP_SCORES.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jimczi Jim Ferenczi
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 0.5h
                  0.5h