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

BoundedDocSetIdIterator may supply error count in Weigth#count(LeafReaderContext) when missingValue enables

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • None
    • None
    • New

    Description

      When IndexSortSortedNumericDocValuesRangeQuery can take advantage of index sort, Weight#count will use BoundedDocSetIdIterator's lastDoc and firstDoc to calculate count, but if missingValue enables, those Documents which not contain DocValues may be involved in calculating count.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ChrisLu Lu Xugang
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 2h
                  2h