Constructor MultiReader
MultiReader(IndexReader[])
Construct a MultiReader aggregating the named set of (sub)readers.
Note that all subreaders are closed if this Multireader is closed.
Declaration
public MultiReader(params IndexReader[] subReaders)
Parameters
Type | Name | Description |
---|---|---|
IndexReader[] | subReaders | set of (sub)readers |
MultiReader(IndexReader[], Boolean)
Construct a MultiReader aggregating the named set of (sub)readers.
Declaration
public MultiReader(IndexReader[] subReaders, bool closeSubReaders)
Parameters
Type | Name | Description |
---|---|---|
IndexReader[] | subReaders | set of (sub)readers; this array will be cloned. |
System.Boolean | closeSubReaders | indicates whether the subreaders should be disposed when this MultiReader is disposed |