The TopScoreDocCollector type exposes the following members.

Fields

  NameDescription
Protected fieldpq
The priority queue which holds the top documents. Note that different implementations of PriorityQueue give different meaning to 'top documents'. HitQueue for example aggregates the top scoring documents, while other PQ implementations may hold documents sorted by other criteria.
(Inherited from TopDocsCollector.)
Protected fieldtotalHits
The total number of documents that the collector encountered.
(Inherited from TopDocsCollector.)

See Also