Returns index of the searcher/reader for document
CopyC#
n
in the array used to construct this searcher/reader.

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

Syntax

C#
public static int SubIndex(
	int n,
	int[] docStarts
)
Visual Basic
Public Shared Function SubIndex ( _
	n As Integer, _
	docStarts As Integer() _
) As Integer
Visual C++
public:
static int SubIndex(
	int n, 
	array<int>^ docStarts
)

Parameters

n
Type: System..::..Int32

[Missing <param name="n"/> documentation for "M:Lucene.Net.Util.ReaderUtil.SubIndex(System.Int32,System.Int32[])"]

docStarts
Type: array<System..::..Int32>[]()[][]

[Missing <param name="docStarts"/> documentation for "M:Lucene.Net.Util.ReaderUtil.SubIndex(System.Int32,System.Int32[])"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.ReaderUtil.SubIndex(System.Int32,System.Int32[])"]

See Also