Recently I am getting lots of index corruption exception. I am using lucene 4.3. org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=592666996 vs expected header=1071082519 (resource: MMapIndexInput(path="/2015/06/06/1433548802/_qn0.si")) 2015-07-03_04:31:38.57975 at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:128) 2015-07-03_04:31:38.57978 at org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:53) 2015-07-03_04:31:38.57984 at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:301) 2015-07-03_04:31:38.57987 at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:172) 2015-07-03_04:31:38.57990 at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:715) 2015-07-03_04:31:38.58016 at
What may be the possible cause of the problem? Also what is the solution? Many thanks -- View this message in context: http://lucene.472066.n3.nabble.com/codec-header-mismatch-tp4215563.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org