The TopDocsCollector type exposes the following members.
Fields
Name | Description | |
---|---|---|
EMPTY_TOPDOCS | ||
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.
| |
totalHits | The total number of documents that the collector encountered. |