Construct a MultiReader aggregating the named set of (sub)readers. Directory locking for delete, undeleteAll, and setNorm operations is left to the subreaders.

Note that all subreaders are closed if this Multireader is closed.

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

Syntax

C#
public MultiReader(
	IndexReader[] subReaders
)
Visual Basic
Public Sub New ( _
	subReaders As IndexReader() _
)
Visual C++
public:
MultiReader(
	array<IndexReader^>^ subReaders
)

Parameters

subReaders
Type: array<Lucene.Net.Index..::..IndexReader>[]()[][]
set of (sub)readers

See Also