Hi,

 

I use Lucli to optimize my index, when my application was stopped. And after 
restarting my application, I could not serahc my index anymore, I got the 
following exception :

 

org.apache.lucene.index.CorruptIndexException: Unknown format version: -4

        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:204)

        at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:190)

        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:610)

        at org.apache.lucene.index.IndexReader.open(IndexReader.java:185)

        at org.apache.lucene.index.IndexReader.open(IndexReader.java:167)

 

I have two questions:

-why does it occurs ? Should I use another tool to access the index outside of 
my application ?

-do there is way to recover ?

 

 

Thanks,

 

Mélanie

Reply via email to