> From: Doug Cutting [mailto:[EMAIL PROTECTED]]

> It is most effiecient to batch deletions and insertions, i.e., perform a
> bunch of deletions on a single IndexReader, close it, then perform a bunch
> of insertions on a single IndexWriter.  Usually the IndexReader that you do
> the deletions on is different than the one other threads are simultaneously
> using for searching, since if you close a reader while a search is underway
> it will crash the search.

Unfortunately I can't do that in my application. Users are allowed to insert and 
delete files at any time and changes should be
reflected asap.

Thanks for the answer,

--Daniel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to