Apache Lucene.Net 2.1 Class Library API

IndexWriter.AddIndexes Method (IndexReader[])

Merges the provided indexes into this index.

After this completes, the index is optimized.

The provided IndexReaders are not closed.

See {@link #AddIndexes(Directory[])} for details on transactional semantics, temporary free space required in the Directory, and non-CFS segments on an Exception.

public virtual void AddIndexes(
   IndexReader[] readers
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter.AddIndexes Overload List