Apache Lucene.Net 2.4.0 Class Library API

TopFieldDocCollector Constructor 

Construct to collect a given number of hits.

public TopFieldDocCollector(
   IndexReader reader,
   Sort sort,
   int numHits
);

Parameters

reader
the index to be searched
sort
the sort criteria
numHits
the maximum number of hits to collect

See Also

TopFieldDocCollector Class | Lucene.Net.Search Namespace