Re: cannot delete cfs files on windows

2008-03-13 Thread Ioannis Cherouvim
Hello I index once every 24h. If a single search takes place between those 24hours, the next indexing will generate a new cfs file, because the old one cannot be deleted. Yes, I've read in the API that it's best not to open and close an IndexReader for every search, but right now I'm not con

Re: cannot delete cfs files on windows

2008-03-13 Thread Grant Ingersoll
Not sure why you can't close, but it's a bit suspicious that you are opening the IndexReader every time you do a search. Can you explain a little more about your process? When are you indexing, how often, etc.? -Grant On Mar 12, 2008, at 11:50 AM, Ioannis Cherouvim wrote: Hello I can in

cannot delete cfs files on windows

2008-03-12 Thread Ioannis Cherouvim
Hello I can index many times and delete the index files (manually). But if I search once, then the cfs file is locked and cannot be deleted. Subsequent indexings create new cfs files. Even if I undeploy the tomcat web application which holds the search code, the cfs file cannot be deleted.