[email protected]
[Top] [All Lists]

RE: Threading Indexing Processes : Can we write concurrently to Index?

Subject: RE: Threading Indexing Processes : Can we write concurrently to Index?
From: "askxuefeng"
Date: Tue, 30 Oct 2007 21:26:45 +0800
You can use a queue to let IndexWriter do its work asychronize 

-----Original Message-----
From: Michael Prichard [mailto:[email protected]] 
Sent: Tuesday, October 30, 2007 9:10 PM
To: [email protected]
Subject: Re: Threading Indexing Processes : Can we write concurrently to
Index?

So I should create a singe IndexWriter but allow multiple threads to use it?


On Oct 30, 2007, at 12:49 AM, Karl Wettin wrote:

>
> 30 okt 2007 kl. 05.08 skrev Michael Prichard:
>
>> If I multithread an indexing process can two or more processes write 
>> to the same index?
>
> Multiple threads can add documents to the same writer. Multiple 
> threads can usually not write using each a writer.
>
>
> --
> karl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


[email protected]----
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>