MergePolicy to allow index upgrade through reindexing

Rahul Goswami <[email protected]> Wed, 26 Nov 2025 10:15:50 -0500
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CACne2_br0AASsK+REVTBpkoNQERoYZbq=wRBNR7yK_eYrZ38pg@mail.gmail.com>
Hello,
We have an effort underway in Solr to allow in-place reindexing of stored
data from older segments as a means to upgrade the index, in order to allow
the next Lucene version to open it.
This makes use of the following merge policy which prevents older segments
from participating in merges so they can be reindexed into latest version
segments:
https://github.com/apache/solr/pull/3883/files

The merge policy is not specific to Solr as such and so I want to gauge if
it would be ok for me to create a Github issue for the same and contribute
this policy to Lucene?

Thanks,
Rahul Goswami