Volodymyr Bychkoviak wrote:
method open is static method wich returns new indexReader. maybe this is the problem.

I did not see the wood for the trees!
That's it!

The correct program looks like this:
---------------------------------------------------------------------
indexReader = IndexReader.open(index);
while (!removeStack.empty()) {
    int hitId = ((Integer)(removeStack.pop())).intValue();
    indexReader.delete(hitId);
}
indexReader.close();
---------------------------------------------------------------------


Thanx a lot,
Dirk


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

Reply via email to