lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Lisheng" <Lisheng.Zh...@BroadVision.com>
Subject lucene Indexer failed to close, but later indexing still OK?
Date Thu, 02 Aug 2012 17:55:44 GMT
Hi,
 
We are using lucene 2.3.2 on linux/ubuntu (we will upgrade lucene soon), recently we got exception:
 
read past EOF #012java.io.IOException: read past EOF
at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:130)
at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:240)
at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:152)
at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
at org.apache.lucene.store.IndexInput.readVInt(IndexInput.java:76)
at org.apache.lucene.index.TermBuffer.read(TermBuffer.java: 63)
at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:123)
at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:154)
at org.apache.lucene.index.TermInfosReader.scanEnum(TermInfosReader.java:223)
at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:217)
at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:54)
at org.apache.lucene.index.IndexReader.termDocs(IndexReader.java:668)
at org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:756)
at org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:3512)
...
 
This happened when we tried to commit the change. But later we ran the CheckIndex, there is
no error
at all and we can still index without problem. 
 
Is this a know issue (I searched Google, it is said if applying 4.0 to old index data we may
encounter this
error, but we all use lucene 2.3.2)?
 
Thanks very much for helps!
 
Lisheng

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