Understandable.. my main purpose for this is in the case where I am
parsing other formats than plain text... i.e. pdfbox takes a bit of
time to parse the text for indexing.. so a series of queues and
threads will certainly optimize my indexing....
On Sat, 16 Oct 2004 09:52:36 +0200, Paul Elschot <paul.elschot@xs4all.nl> wrote:
> 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
>
>
--
___________________________________________________
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
|