A base class for all collectors that return a {@link TopDocs} output. This
collector allows easy extension by providing a single constructor which
accepts a {@link PriorityQueue} as well as protected members for that
priority queue and a counter of the number of total hits.
Extending classes can override {@link #TopDocs(int, int)} and {@link #GetTotalHits()} in order to provide their own implementation.
Namespace: Lucene.Net.SearchExtending classes can override {@link #TopDocs(int, int)} and {@link #GetTotalHits()} in order to provide their own implementation.
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..Collector
Lucene.Net.Search..::..TopDocsCollector
Lucene.Net.Search..::..TopFieldCollector
Lucene.Net.Search..::..TopScoreDocCollector
Lucene.Net.Search..::..Collector
Lucene.Net.Search..::..TopDocsCollector
Lucene.Net.Search..::..TopFieldCollector
Lucene.Net.Search..::..TopScoreDocCollector