Returns sub IndexReader that contains the given document id.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static IndexReader SubReader( int doc, IndexReader reader ) |
Visual Basic |
---|
Public Shared Function SubReader ( _ doc As Integer, _ reader As IndexReader _ ) As IndexReader |
Visual C++ |
---|
public: static IndexReader^ SubReader( int doc, IndexReader^ reader ) |
Parameters
- doc
- Type: System..::..Int32
id of document
- reader
- Type: Lucene.Net.Index..::..IndexReader
parent reader