dcsimg

Is the IndexWriter class, and especially the method addIndexes(Directory[]) thread safe?

Otis Gospodnetic

Yes, IndexWriter.addIndexes(Directory[]) method is thread safe. It is a final synchronized method.