Searches fail while indexwriter is open

2007-04-02 Thread baronDodd
I am currently writing a Lucene application and having a huge headache with concurrency. My requirements are that each time a file is indexed a search on its path is performed to see if an update (delete then re-index) is required. If a document with the same path exists then an IndexReader delet

Re: Searches fail while indexwriter is open

2007-04-02 Thread baronDodd
(which has > a default value, perhaps not coincidentally, of 10)... > > Lucene 2.1 has an IndexWriter.flush() method that could help.. > > Erick > > On 4/2/07, baronDodd <[EMAIL PROTECTED]> wrote: >> >> >> I am currently writing a Lucene application and