Antony Bowesman wrote:
Hi,
I have the IndexWriter.infoStream set to System.out and get the following
merging segments _4m (2 docs) _4n (1 docs) into _4o (3 docs)
java.io.IOException: Cannot delete PathToDB\_29.cfs; Will re-try later.
java.io.IOException: Cannot delete PathToDB\_29.cfs; Will re-try later.
Is this normal? IndexWriter.deleteFiles() is giving the message and it
explicitly catches the IOException which is what makes me think it might
be normal.
Do you also have a reader open against this index? If yes, then this is
totally normal on Windows. A reader holds open the segments cfs files
that it is using, so when the writer tries to delete them (because they
were merged) the delete fails and Lucene will try again later.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]