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

DocValuesFieldUpdates should use a better sort

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • None
    • None
    • New

    Description

      This is a follow-up to LUCENE-8598: Simon identified that swaps are a bottleneck to applying doc-value updates, in particular due to the overhead of packed ints. It turns out that InPlaceMergeSorter does LOTS of swaps in order to perform in-place. Replacing with a more efficient sort should help.

      Attachments

        1. LUCENE-8600.patch
          3 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: