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\lucene\_1i8ye_FST50_0.doc"))
at org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:204)
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:193)
at org.apache.lucene.codecs.CodecUtil.checkIndexHeader(CodecUtil.java:253)
at
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader.<init>(Lucene90PostingsReader.java:84)
at
org.apache.lucene.codecs.memory.FSTPostingsFormat.fieldsProducer(FSTPostingsFormat.java:60)
...
Files with UniformSplit has the same error. Are these codecs not backward
compatible? Is there any workaround?
Thank you!

Reply via email to