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

Allow index sorting to happen after the fact

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      I did look into sorting an index after it was created and found that with some smallish modifications we can actually allow that by piggibacking on SortingLeafReader and addIndices in a pretty straight-forward and simple way. With some smallish modifications / fixes to SortingLeafReader we can just merge and unsorted index into a sorted index using a fresh index writer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonw Simon Willnauer
              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 10m
                  2h 10m