lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: threading and indexing......
Date Sat, 16 Oct 2004 07:52:36 GMT
On Saturday 16 October 2004 02:14, Otis Gospodnetic wrote:
> If all 4 threads use the same instance of IndexWriter everything should
> be okay, as Lucene synchronizes vital blocks.

And on a single CPU with a single disk using up to three threads even
gives a bit of a speed up over one thread, 10-15% iirc. More threads
were of no use for me in that case.

Regards,
Paul Elschot

> Otis
>
> --- Chris Fraschetti <fraschetti@gmail.com> wrote:
> > if i have four threads all trying to call my index function, will
> > lucene do what is necessary for each thread to wait until the writer
> > is available.. or will the threads get an exception?
> >
> > --
> > ___________________________________________________
> > Chris Fraschetti, Student CompSci System Admin
> > University of San Francisco
> > e fraschetti@gmail.com | http://meteora.cs.usfca.edu
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


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


Mime
View raw message