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 = IndexReade
Dirk Hennig wrote:
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?
it can be modified by another indexReader or indexWriter.
The program is exactl
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!
--
the problem is than index was modified between indexReader.open(index);
and indexReader.delete(hitId); method calls.
regards,
Volodymyr Bychkoviak
Dirk Hennig wrote:
Hallo,
When I try to use this to remove several documents from the index
-