If all 4 threads use the same instance of IndexWriter everything should
be okay, as Lucene synchronizes vital blocks.

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]

Reply via email to