Hello, This is my first question to lucene mailing list, sorry if the question sounds funny.
I have been experimenting to store lucene index files on cassandra, unfortunately the exception got overwhelmed. Below are the stacktrace. org.apache.lucene.index.CorruptIndexException: codec mismatch: actual codec=CompoundFileWriterData vs expected codec=Lucene46FieldInfos (resource: SlicedIndexInput(SlicedIndexInput(_0.fnm in lucene-cassandra-desc) in lucene-cassandra-desc slice=31:340)) at org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:140) at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:130) at org.apache.lucene.codecs.lucene46.Lucene46FieldInfosReader.read(Lucene46FieldInfosReader.java:56) at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:214) at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:94) at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:843) at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52) at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66) at org.apache.lucene.store.Search.<init>(Search.java:41) at org.apache.lucene.store.Search.main(Search.java:34) I'm not sure what does it means, can anybody help? When I check the hex representation of _0.fnm in cassandra, and translated to ascii. It is something like this: ??l??Lucene46FieldInfos??????path?Q??????????????PerFieldPostingsFormat.format?Lucene41?PerFieldPostingsFormat.suffix?0?modified?Q??????????????PerFieldPostingsFormat.format?Lucene41?PerFieldPostingsFormat.suffix?0?contents????????????????PerFieldPostingsFormat.format?Lucene41?PerFieldPostingsFormat.suffix?0 It looks to me the expected codec is found in the _0.fnm file or am I wrong? Thank you and please let me know if you need additional information.