lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Swanhart <>
Subject corrupted index
Date Sun, 05 Dec 2004 05:01:15 GMT
Somehow today one of my indexes became corrupted.  

I get the following IO exception when trying to open the index:
Exception in thread "main" read past EOF
        at org.en.lucene.index.FieldInfos.<init>(
        at org.en.lucene.index.SegmentReader.initialize(
        at org.en.lucene.index.SegmentReader.<init>(
        at org.en.lucene.index.IndexWriter.mergeSegments(
        at org.en.lucene.index.IndexWriter.maybeMergeSegments(
        at org.en.lucene.index.IndexWriter.addDocument(
        at org.en.lucene.index.IndexWriter.addDocument(

Any ideas on what could cause this type of corruption, and what I can
do to avoid it in the future.  Also, any ideas on repairing the index
if this happens?  I removed the index directory and marked the rows to
be reindexed from the database, but the data is unavailable to my
users while the index rebuilds.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message