As I understand the concurrently model, these are the rules:
* One IndexWriter at a time.
* As many IndexReaders as you want at a time.
* If you want to pick up a change made by the IndexWriter, you need to close the IndexWriter before opening the IndexReader. (In other words, any open IndexReaders won't pick up the change.)
(Caveat: I'm not sure exactly how delete() figures into this as it is done by an IndexReader...)
Hope this helps,
Scott
> -----Original Message-----
> From: Sameer Maggon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 21, 2001 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: [Lucene-users] Indexing
>
>
> Hi,
> all
>
> I have just tried the Lucene API and am very impressed by
> it... Can u tell me whether incremental updates are
> possible... Like one of my threads is searching for a
> document and other is adding documents
>
> Sameer
>
>
>
>
>
>
> _______________________________________________
> Lucene-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/lucene-users
>