lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: IndexWriter multithreaded?
Date Sun, 04 Jun 2006 14:15:14 GMT
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


Mime
View raw message