lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Goodell <good...@gmail.com>
Subject Corrupted indexes
Date Fri, 22 Oct 2004 18:48:16 GMT
Recently, I've been getting a lot of corrupted lucene indexes.  They
appear to return search results normally, but there is really no good
way to test whether information is missing.  The main problem is that
when i try to optimize, i get the following Exception:

java.io.IOException: read past EOF
        at org.apache.lucene.index.CompoundFileReader$CSInputStream.readInternal(CompoundFileReader.java:218)
        at org.apache.lucene.store.InputStream.readBytes(InputStream.java:61)
        at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:356)
        at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:323)
        at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger.java:422)
        at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:94)
        at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:487)
        at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:366)

this is preventing me from optimizing the indexes, and also scares me
that information might be missing.

Does anybody know what's going on here, and what might be wrong?

Thanks for your time,
- andy g

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message