Initializes a new instance of the TopDocs class

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

Syntax

C#
public TopDocs(
	int totalHits,
	ScoreDoc[] scoreDocs,
	float maxScore
)
Visual Basic
Public Sub New ( _
	totalHits As Integer, _
	scoreDocs As ScoreDoc(), _
	maxScore As Single _
)
Visual C++
public:
TopDocs(
	int totalHits, 
	array<ScoreDoc^>^ scoreDocs, 
	float maxScore
)

Parameters

totalHits
Type: System..::..Int32

[Missing <param name="totalHits"/> documentation for "M:Lucene.Net.Search.TopDocs.#ctor(System.Int32,Lucene.Net.Search.ScoreDoc[],System.Single)"]

scoreDocs
Type: array<Lucene.Net.Search..::..ScoreDoc>[]()[][]

[Missing <param name="scoreDocs"/> documentation for "M:Lucene.Net.Search.TopDocs.#ctor(System.Int32,Lucene.Net.Search.ScoreDoc[],System.Single)"]

maxScore
Type: System..::..Single

[Missing <param name="maxScore"/> documentation for "M:Lucene.Net.Search.TopDocs.#ctor(System.Int32,Lucene.Net.Search.ScoreDoc[],System.Single)"]

See Also