Returns the stored fields of the
CopyC#
n
th
CopyC#
Document
in this index.

NOTE: for performance reasons, this method does not check if the requested document is deleted, and therefore asking for a deleted document may yield unspecified results. Usually this is not required, however you can call {@link #IsDeleted(int)} with the requested document ID to verify the document is not deleted.

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

Syntax

C#
public virtual Document Document(
	int n
)
Visual Basic
Public Overridable Function Document ( _
	n As Integer _
) As Document
Visual C++
public:
virtual Document^ Document(
	int n
)

Parameters

n
Type: System..::..Int32

[Missing <param name="n"/> documentation for "M:Lucene.Net.Index.IndexReader.Document(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.Document(System.Int32)"]

See Also