Merges all segments from an array of indexes into this index.

NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use {@link #addIndexesNoOptimize} instead,then separately call {@link #optimize} afterwards if you need to.")]
public virtual void AddIndexes(
	Directory[] dirs
)
Visual Basic
<ObsoleteAttribute("Use {@link #addIndexesNoOptimize} instead,then separately call {@link #optimize} afterwards if you need to.")> _
Public Overridable Sub AddIndexes ( _
	dirs As Directory() _
)
Visual C++
[ObsoleteAttribute(L"Use {@link #addIndexesNoOptimize} instead,then separately call {@link #optimize} afterwards if you need to.")]
public:
virtual void AddIndexes(
	array<Directory^>^ dirs
)

Parameters

dirs
Type: array<Lucene.Net.Store..::..Directory>[]()[][]

[Missing <param name="dirs"/> documentation for "M:Lucene.Net.Index.IndexWriter.AddIndexes(Lucene.Net.Store.Directory[])"]

See Also