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

Implement Weight#count() on NormsFieldExistsQuery

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1, 10.0 (main)
    • None
    • None
    • New

    Description

      Similar to LUCENE-10085, we can quickly get a count of documents that have a text field present by reading docCount() from the field's Terms instance if there are no deleted documents.

      Attachments

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              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 - 2.5h
                  2.5h