lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esmond Pitt" <esmond.p...@motile.net>
Subject FSDIrectory.create doesn't tolerate subdirectories
Date Sun, 07 Dec 2003 23:17:19 GMT
When creating an index, FSDirectory assumes that the directory has no
subdirectories. If a non-empty subdirectory is present, FSDirectory.create
fails to delete it and throws an IOException. As the subdirectory is not a
Lucene index file (although in my case it is a Lucene sub-index), the method
actually has no business attempting to delete it at all. Can this behaviour
please be changed so that it doesn't attempt to delete subdirectories in an
index location at all?

Applies to 1.3RC3.

EJP



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message