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

Use sparse bitset to store docs in SingleValueDocValuesFieldUpdates

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Using a sparse bitset in SingleValueDocValuesFieldUdpates allows storing
      which documents have an update much more efficient and prevents the need
      to sort the docs array altogether that showed to be a significant bottleneck
      in LUCENE-8598. Using the spares bitset yields another 10x performance improvement
      in applying updates versus the changes proposed in LUCENE-8598.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                simonw Simon Willnauer
              • 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 - 50m
                  50m