lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Hennig <dhen...@rrzn.uni-hannover.de>
Subject IOException IndexReader out of date
Date Thu, 07 Jul 2005 09:11:44 GMT
Hallo,

When I try to use this to remove several documents from the index
---------------------------------------------------------------------
indexReader.open(index);
while (!removeStack.empty()) {
     int hitId = ((Integer)(removeStack.pop())).intValue();
     indexReader.delete(hitId);
}
indexReader.close();
---------------------------------------------------------------------

I get
---------------------------------------------------------------------
java.io.IOException
with message: IndexReader out of date and no longer valid for delete,
undelete, or setNorm operations
---------------------------------------------------------------------

What's the problem?

Greetings,
Dirk





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


Mime
View raw message