Method SubIndex
SubIndex(Int32, Int32[])
Returns index of the searcher/reader for document n
in the
array used to construct this searcher/reader.
Declaration
public static int SubIndex(int n, int[] docStarts)
Parameters
Type |
Name |
Description |
System.Int32 |
n |
|
System.Int32[] |
docStarts |
|
Returns
Type |
Description |
System.Int32 |
|
SubIndex(Int32, IList<AtomicReaderContext>)
Returns index of the searcher/reader for document n
in the
array used to construct this searcher/reader.
Declaration
public static int SubIndex(int n, IList<AtomicReaderContext> leaves)
Parameters
Returns
Type |
Description |
System.Int32 |
|