On 12/27/05, K.A.Hussain Ali <[EMAIL PROTECTED]> wrote:
> HI all.
>
> I am a newbie to Lucene..
> Could we do indexing and deleting a document on the same file simultaneously ?

At any one time, there can only be a single Lucene index writer and
any number of index readers. You cannot have two different index
writer threads modifying the same index simultaneously. Thus, no, you
cannot have one thread indexing new documents and another thread
deleting documents from the same index at the same time.

What you can do is have a single index writer thread that interleave
add document and delete document operations in a sequential manner.

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

Reply via email to