Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8060 Enable top-docs collection optimizations by default
  3. LUCENE-8431

Allow top collectors to compute lower bounds of the total hit count

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None
    • New

    Description

      As discussed on LUCENE-8060, we should make TopScoreDocCollector and TopFieldCollector take a minimum hit count to compute rather than a boolean that says whether or not to track hits. This will help implement simple pagination or give a sense of the fact that there are "plenty" of hits.

      Attachments

        1. LUCENE-8431.patch
          69 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: