lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Wertheim <dan...@wertheim.se>
Subject How to ensure files in a directory are released?
Date Thu, 08 Jul 2010 10:50:59 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message