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

Include totalHitsThreshold when tracking total hits in TopDocsCollector

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None
    • New

    Description

      Today the total hits threshold in the top docs collector is not inclusive, this means that total hits are tracked up to totalHitsThreshold-1. After discussing with @jpountz we agreed that this is not intuitive to return a lower bound that is equal to totalHitsThreshold even if the count is accurate.

      Attachments

        1. LUCENE-8660.patch
          14 kB
          Jim Ferenczi
        2. LUCENE-8660.patch
          7 kB
          Jim Ferenczi

        Activity

          People

            Unassigned Unassigned
            jim.ferenczi Jim Ferenczi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: