“ I tried removing the check in SegmentInfos.java ( https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.11.1/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java#L321) , compiled the code and ran a full sequence of index upgrades from 5.x -> 6.x -> 7.x ->8.x. The upgrade goes through fine. Also search/update operations work without any issues. ” I have to admit, that is super clever and really cool it worked. It’s still against the mantra that you should be able to do a full reindex at any given point, and the two versions, but I pulled this off in the way back days, going from a raw lucene index (made before solr1.x) straight into solr.
But I’d really look into a way to remake the index as needed. Trust me the investment is worth the time. Best of luck and nice job on the hack, just remember it’s a hack > On Jan 2, 2022, at 11:24 PM, Rahul Goswami <rahul196...@gmail.com> wrote: > > I tried removing the check in SegmentInfos.java ( > https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.11.1/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java#L321) > , compiled the code and ran a full sequence of index upgrades from 5.x -> > 6.x -> 7.x ->8.x. The upgrade goes through fine. Also search/update > operations work without any issues.