You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by Daniel Wertheim <da...@wertheim.se> on 2010/07/08 12:50:59 UTC
How to ensure files in a directory are released?
Hi,
How do I ensure that writers and searchers realeases all files they consume
in a Lucene-directory?
Tried:
Writer.Close()
Searcher.Close()
Directory.Close()
Still, when I try to delete the directory and it subdirs and files using
System.Io, I get a complaint that "_0.cfs" is being consumed.
//Daniel