Returns sub-reader subIndex from reader.

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

Syntax

C#
public static IndexReader SubReader(
	IndexReader reader,
	int subIndex
)
Visual Basic
Public Shared Function SubReader ( _
	reader As IndexReader, _
	subIndex As Integer _
) As IndexReader
Visual C++
public:
static IndexReader^ SubReader(
	IndexReader^ reader, 
	int subIndex
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
parent reader
subIndex
Type: System..::..Int32
index of desired sub reader

Return Value

the subreader at subINdex

See Also