That's what I meant. Thanks ! 

-----Original Message-----
From: Yonik Seeley [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 04, 2006 9:15 AM
To: java-dev@lucene.apache.org
Subject: Re: IndexWriter multithreaded?

On 6/4/06, Robert Engels <[EMAIL PROTECTED]> wrote:
> I understand that there can only be a single active IndexWriter per 
> Directory, but is the IndexWriter multithreaded (it seems to be)?

It's not multithreaded, but it is thread-safe.

> It would appear that on a multiprocessor box using multiple threads to 
> add documents from a queue would be much faster (due to the parallel 
> tokenization)?

Correct.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
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]

Reply via email to