Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual void setNextReader(const IndexReaderPtr &reader, int32_t docBase)=0
Called before collecting from each IndexReader. All doc ids in collect(int32_t) will correspond to re...
virtual void collect(int32_t doc)=0
Called once for every document matching a query, with the unbased document number.
virtual bool acceptsDocsOutOfOrder()=0
Return true if this collector does not require the matching docIDs to be delivered in int sort order ...
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual void setScorer(const ScorerPtr &scorer)=0
Called before successive calls to collect(int32_t). Implementations that need the score of the curren...
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
boost::shared_ptr< Scorer > ScorerPtr
Definition: LuceneTypes.h:429
Collectors are primarily meant to be used to gather raw results from a search, and implement sorting ...
Definition: Collector.h:100
clucene.sourceforge.net