Hi Nicola,

Yes, it is thread safe, like all other methods in IndexWriter. In the case of 
the one taking IndexReaders, Lucene will also do the merging concurrently.

Say hello to Jo McEntyre! :-)
Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: Nicola Buso [mailto:nb...@ebi.ac.uk]
> Sent: Thursday, May 22, 2014 5:13 PM
> To: java-user@lucene.apache.org
> Subject: IndexWriter.addIndexes() multithread correct?
> 
> Hi,
> 
> I was wondering if it's correct to call the method:
> IndexWriter.addIndexes(...)
> 
> from different threads concurrently.
> 
> 
> nicola.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to