Returns the stored fields of the nth document in this set.

Documents are cached, so that repeated requests for the same element may return the same Document object.

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

Syntax

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

Parameters

n
Type: System..::..Int32

[Missing <param name="n"/> documentation for "M:Lucene.Net.Search.Hits.Doc(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.Hits.Doc(System.Int32)"]

See Also