IndexWriter multithreaded?

2006-06-03 Thread Robert Engels
I understand that there can only be a single active IndexWriter per Directory, but is the IndexWriter multithreaded (it seems to be)? 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)? Do I

Re: IndexWriter multithreaded?

2006-06-04 Thread Simon Willnauer
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)? Do you mean the a IndexWriter works with several threads or is thread-safe? maybe this one helps

Re: IndexWriter multithreaded?

2006-06-04 Thread Yonik Seeley
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 usi

RE: IndexWriter multithreaded?

2006-06-04 Thread Robert Engels
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