lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <reng...@ix.netcom.com>
Subject RE: IndexWriter multithreaded?
Date Mon, 05 Jun 2006 02:09:54 GMT
That's what I meant. Thanks ! 

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

On 6/4/06, Robert Engels <rengels@ix.netcom.com> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message