Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef TOPDOCSCOLLECTOR_H
8 #define TOPDOCSCOLLECTOR_H
39 virtual int32_t getTotalHits();
65 virtual TopDocsPtr topDocs(int32_t start, int32_t howMany);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
int32_t totalHits
The total number of documents that the collector encountered.
Definition: TopDocsCollector.h:35
A base class for all collectors that return a TopDocs output. This collector allows easy extension by...
Definition: TopDocsCollector.h:21
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< TopDocs > TopDocsPtr
Definition: LuceneTypes.h:471
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
clucene.sourceforge.net