Volodymyr Bychkoviak wrote:
the problem is than index was modified between indexReader.open(index); and indexReader.delete(hitId); method calls.

That would explain the exception.
But How?
The program is exactly as I wrote it!


---------------------------------------------------------------------
indexReader.open(index);
while (!removeStack.empty()) {
    int hitId = ((Integer)(removeStack.pop())).intValue();
    indexReader.delete(hitId);
}
indexReader.close();
---------------------------------------------------------------------


Dirk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to