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

Allow an option to rewrite all segments

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      For the background, see SOLR-12259.

      There are several use-cases that would be much easier, especially during upgrades, if we could specify that all segments get rewritten.

      One example: Upgrading 5x->6x->7x. When segments are merged, they're rewritten into the current format. However, there's no guarantee that a particular segment ever gets merged so the 6x-7x upgrade won't necessarily be successful.

      How many merge policies support this is an open question. I propose to start with TMP and raise other JIRAs as necessary for other merge policies.

      So far the usual response has been "re-index from scratch", but that's increasingly difficult as systems get larger.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                erickerickson Erick Erickson
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: