Re: Backward compatibility of FST50 and UniformSplit formats

2021-04-19 Thread Adrien Grand
Hi Dmitry, These codecs are indeed not backward compatible. Only the default codec is guaranteed to be backward compatible. If you would like to bring your index to a snapshot of the main branch, one option would be to: 1. Use Lucene 8.5's IndexWriter#addIndexes in order to create a copy of your

Backward compatibility of FST50 and UniformSplit formats

2021-04-18 Thread Dmitry Emets
Hi! I cannot open by lucene master my indexes created by lucene 8.5. I get an error Exception in thread "main" org.apache.lucene.index.CorruptIndexException: codec mismatch: actual codec=Lucene84PostingsWriterDoc vs expected codec=Lucene90PostingsWriterDoc (resource=MMapIndexInput(path="C:\data\luc