delete unnecessary files after optimize()

2005-10-15 Thread Koji Sekiguchi
Hello, My Tomcat application has several threads. These threads share a single instance of IndexSearcher to seach contents. At some point in time, I have the following index directory: -rwx--+ 1 admin admin 158622 Oct 16 10:21 _1pp.cfs -rwx--+ 1 admin admin 158622 Oct 16 10:21 _2kk.cfs -

RE: delete unnecessary files after optimize()

2005-10-15 Thread Koji Sekiguchi
Hi again, I've read http://lucene.apache.org/java/docs/fileformats.html and now I think I know deletable file format. > How can I get a list of unnecessary files to delete them? I can get such information from deletable file under Win32 environment, correct? Koji > -Original Message- >

RE: delete unnecessary files after optimize()

2005-10-15 Thread Chris Hostetter
: > How can I get a list of unnecessary files to delete them? : : I can get such information from deletable file under Win32 environment, : correct? I've never used Lucene on windows, but if I recall correctly from past discussions on this topic, the IndexWriter will try to delete any file listed