How to use? Upgrade Solr Segments: UpgradeIndexMergePolicy

2021-10-08 Thread Michael Conrad
It seems to cause my merge requests to become no-ops ? I trying this for a single smaller collection. class="org.apache.solr.index.UpgradeIndexMergePolicyFactory"> mergePolicy name="mergePolicy.class">org.apache.solr.index.TieredMergePolicyFactory 0.1 On 10/8/21 9:40 AM, Rahul Goswami wrot

Re: Upgrade Solr Segments: UpgradeIndexMergePolicy

2021-10-08 Thread Rahul Goswami
Thanks. I will check this out. I remember going through the code a while back where there is an explicit check in one of the codec classes for versions older than 7.x and it throws an IndexFormatTooOldException. So I doubt this will help. But I will be glad to be proved wrong if this works. On Fr

Upgrade Solr Segments: UpgradeIndexMergePolicy

2021-10-08 Thread Michael Conrad
Would this help? UpgradeIndexMergePolicy This |MergePolicy| is used for upgrading all existing segments of an index when calling |IndexWriter.forceMerge(int)|