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

Optimize the "everything matches" case for count query in PointRangeQuery

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.1
    • 9.1
    • None
    • None
    • New

    Description

      In Implement of Weight#count in PointRangeQuery, Whether additional consideration is needed that when PointValues#getDocCount() == IndexReader#maxDoc() and the range's lower bound is less that the field's min value and the range's upper bound is greater than the field's max value, then return reader.maxDoc() directly?

      Attachments

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              ChrisLu Lu Xugang
              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 - 1h 10m
                  1h 10m