lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: IOException question
Date Fri, 17 Nov 2006 03:14:35 GMT
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)
> Cannot delete PathToDB\_29.cfs; Will re-try later.
> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message