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

Store BKD blocks with continuous ids more efficiently

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.1
    • core/codecs
    • None
    • New

    Description

      For scenes that index is sorted on the field, it could be a common situation that blocks have continuous ids. Maywe can handle this situation more efficiently (only write the first id of this block). And we can just check

      stritylysorted && (docIds[start+count-1] - docids[start] + 1) == count

       to see if ids are continuous, the check should be very fast

      Attachments

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              gf2121 Feng Guo
              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 - 2h 20m
                  2h 20m