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.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract class TopDocsCollector : Collector
Visual Basic
Public MustInherit Class TopDocsCollector _
	Inherits Collector
Visual C++
public ref class TopDocsCollector abstract : public Collector

Inheritance Hierarchy

See Also