Re: windows locking file problem

2009-06-22 Thread Malo Pichot
Hello, Thank you for help, Micheal. It works fine now. Next time I will trust Lucene a little bit more ;-) Malo Michael McCandless a écrit : > It's best to let IndexWriter manage the deletion of files (for exactly > this reason). > > It turns out, it's perfectly fine to open an IndexWriter wi

Re: windows locking file problem

2009-06-19 Thread Michael McCandless
It's best to let IndexWriter manage the deletion of files (for exactly this reason). It turns out, it's perfectly fine to open an IndexWriter with "create=true" even when IndexReaders are reading that same index. Those open IndexReaders continue to search their point-in-time snapshot, and then whe

windows locking file problem

2009-06-19 Thread Malo Pichot
Hi, I know a similar subject has been discussed in this list and this is not a "windows file system" list ;-) But may be someone have encountered the "thing"... and perhaps solved it ! I have a web application that index many documents so I have a quite large Lucene (2.2) index (~ 350 Mo) managed