Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
A Scorer which wraps another scorer and caches the score of the current document. Successive calls to...
Definition: ScoreCachingWrappingScorer.h:22
virtual void score(const CollectorPtr &collector)
Scores and collects all matching documents.
BooleanScorer uses a ~16k array to score windows of docs. So it scores docs 0-16k first,...
Definition: BooleanScorer.h:30
virtual double score()=0
Returns the score of the current document matching the query. Initially invalid, until {} or #advanc...
Definition: AbstractAllTermDocs.h:12
Scorer(const SimilarityPtr &similarity)
Constructs a Scorer.
virtual bool score(const CollectorPtr &collector, int32_t max, int32_t firstDocID)
Collects matching documents in a range. Hook for optimization. Note, firstDocID is added to ensure th...
Common scoring functionality for different types of queries.
Definition: Scorer.h:22
boost::shared_ptr< Collector > CollectorPtr
Definition: LuceneTypes.h:295
SimilarityPtr similarity
Definition: Scorer.h:29
This abstract class defines methods to iterate over a set of non-decreasing doc ids....
Definition: DocIdSetIterator.h:17
boost::shared_ptr< Similarity > SimilarityPtr
Definition: LuceneTypes.h:435
SimilarityPtr getSimilarity()
Returns the Similarity implementation used by this scorer.
clucene.sourceforge.net