Construct to collect a given number of hits.

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

Syntax

C#
public TopDocCollector(
	int numHits
)
Visual Basic
Public Sub New ( _
	numHits As Integer _
)
Visual C++
public:
TopDocCollector(
	int numHits
)

Parameters

numHits
Type: System..::..Int32
the maximum number of hits to collect

See Also