lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rolaren...@earthlink.net
Subject deletion of index-files fails
Date Fri, 06 Mar 2009 02:19:46 GMT
So, I have a (small) Lucene index, all fine; I use it a bit, and then (on app shutdown) want
to delete its files and the containing directory (the index is intended as a temp object).
At some earlier time this was working just fine, using java.io.File.delete(). Now however,
some of the files get deleted (segments*) whereas others fail (no Exn is thrown, just java.io.File.delete()
returns false: _0.cfs, _0.cfx). I've tried closing the IndexReader (no IndexWriter exists
at shutdown), but that makes no diff. 

Any ideas? 

thanks
Paul 




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


Mime
View raw message