erent readers are used, the one for searching won't 'see' the
changes the other makes until it is closed and reopened...
Hope this helps,
Luc
-Original Message-
From: Daniel Cortes [mailto:[EMAIL PROTECTED]
Sent: woensdag 15 februari 2006 18:59
To: 'Lucene Users List
Try using a different reader to delete the documents.
Hits can re-execute a query, and if the searcher you are using is
sharing the reader you are deleting with, it's like changing a list
you are iterating over (fewer hits will be found the next time the
query is executed).
-Yonik
On 2/15/06, Dan
Hi lucene users I have a strange error and I don't know to do?
My logs say this:
java.lang.ArrayIndexOutOfBoundsException: 100 >= 100
at java.util.Vector.elementAt(Vector.java:431)
at org.apache.lucene.search.Hits.hitDoc(Hits.java:127)
at org.apache.lucene.search.Hits.doc(Hits