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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | http://meteora.cs.usfca.edu
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
___________________________________________________
Chris Fraschetti, Student CompSci System Admin
University of San Francisco
e [EMAIL PROTECTED] | http://meteora.cs.usfca.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to