7 #ifndef TOPDOCSCOLLECTOR_H 8 #define TOPDOCSCOLLECTOR_H 39 virtual int32_t getTotalHits();
65 virtual TopDocsPtr topDocs(int32_t start, int32_t howMany);
A base class for all collectors that return a TopDocs output. This collector allows easy extension by...
Definition: TopDocsCollector.h:21
boost::shared_ptr< TopDocs > TopDocsPtr
Definition: LuceneTypes.h:471
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< HitQueueBase > HitQueueBasePtr
Definition: LuceneTypes.h:371
Collectors are primarily meant to be used to gather raw results from a search, and implement sorting ...
Definition: Collector.h:100
int32_t totalHits
The total number of documents that the collector encountered.
Definition: TopDocsCollector.h:35