Populates the results array with the ScoreDoc instaces. This can be overridden in case a different ScoreDoc type should be returned.

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

Syntax

C#
protected internal virtual void PopulateResults(
	ScoreDoc[] results,
	int howMany
)
Visual Basic
Protected Friend Overridable Sub PopulateResults ( _
	results As ScoreDoc(), _
	howMany As Integer _
)
Visual C++
protected public:
virtual void PopulateResults(
	array<ScoreDoc^>^ results, 
	int howMany
)

Parameters

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

[Missing <param name="results"/> documentation for "M:Lucene.Net.Search.TopDocsCollector.PopulateResults(Lucene.Net.Search.ScoreDoc[],System.Int32)"]

howMany
Type: System..::..Int32

[Missing <param name="howMany"/> documentation for "M:Lucene.Net.Search.TopDocsCollector.PopulateResults(Lucene.Net.Search.ScoreDoc[],System.Int32)"]

See Also