lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prakash Chinnakannan <>
Subject ERROR: could not read any segments file in directory
Date Fri, 26 Jul 2013 14:59:34 GMT

Today we'd the SAN outage and it looks the lucene index directory got
corrupted. We tried to fix it by using CheckIndex and below is the
exception trace.

Do we've any other possible ways to recover the index contents?

~#] java -cp lucene-3.2.0.jar org.
apache.lucene.index.CheckIndex searchIndex/ -fix

NOTE: testing will be more thorough if you run java with
'-ea:org.apache.lucene...', so assertions are enabled

Opening index @ searchIndex/

ERROR: could not read any segments file in directory
org.apache.lucene.index.CorruptIndexException: Unknown format version:
at org.apache.lucene.index.SegmentInfos$1.doBody(
at org.apache.lucene.index.SegmentInfos$
at org.apache.lucene.index.SegmentInfos$
at org.apache.lucene.index.CheckIndex.checkIndex(
at org.apache.lucene.index.CheckIndex.main(

Thanks for your help.

Prakash C

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message