0xCAB / zoie

Automatically exported from code.google.com/p/zoie
0 stars 0 forks source link

Exception in org.apache.lucene.index.SegmentReader.doDelete when deleting a document using Zoie. #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deleting document
2. proj.zoie.impl.indexing.IndexingThread - 
proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@5fec459b is abruptly 
terminated :
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
    at org.apache.lucene.util.BitVector.getAndSet(BitVector.java:72)
    at org.apache.lucene.index.SegmentReader.doDelete(SegmentReader.java:835)
    at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:873)
    at org.apache.lucene.index.DirectoryReader.doDelete(DirectoryReader.java:538)
    at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:873)
    at proj.zoie.impl.indexing.internal.BaseSearchIndex.deleteDocs(BaseSearchIndex.java:187)
    at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:217)
    at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153)
    at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134)
    at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:170)
    at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)

What is the expected output? What do you see instead?
No Exception.

What version of the product are you using? On what operating system?
javasoze-zoie-14c8370
MacOSX

Please provide any additional information below.
In a UnitTest, text is analysed, and Lucene documents are added via Zoie.
Then documents are deleted.

Original issue reported on code.google.com by guillaum...@gmail.com on 17 Jun 2010 at 9:49