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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: