The TopDocCollector type exposes the following members.

Fields

  NameDescription
Protected fieldhq
The priority queue which holds the top-scoring documents.
Protected fieldtotalHits
The total number of hits the collector encountered.

See Also