lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Melanie Langlois" <Melanie.Langl...@tradingscreen.com>
Subject CorruptIndexException
Date Thu, 29 Nov 2007 02:51:03 GMT
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


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