The TopFieldCollector type exposes the following members.
Fields
Name | Description | |
---|---|---|
pq | 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.) | |
totalHits | The total number of documents that the collector encountered. (Inherited from TopDocsCollector.) |