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

Enhance UpgradeIndexMergePolicy with additional options

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      Enhance UpgradeIndexMergePolicy to be a MergePolicy that can be used outside the scope the IndexUpgrader.

      The enhancement aims to allow the UpgradeIndexMergePolicy to:

      1) Delegate normal force merges to the underlying merge policy
      2) Enable a flag that will explicitly tell UpgradeIndexMergePolicy when it should start looking for upgrades.
      3) Allow new segments to be considered to be merged with old segments, depending on underlying MergePolicy.
      4) Be configurable for backwards compatibility such that only segments needing an upgrade would be considered when merging, no explicit upgrades.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              k317h Keith Laban
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: