Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef REQOPTSUMSCORER_H
8 #define REQOPTSUMSCORER_H
virtual int32_t nextDoc()
Advances to the next document in the set and returns the doc it is currently on, or NO_MORE_DOCS if t...
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
ScorerPtr reqScorer
Definition: ReqOptSumScorer.h:21
A Scorer for queries with a required part and an optional part. Delays skipTo() on the optional part ...
Definition: ReqOptSumScorer.h:16
Definition: AbstractAllTermDocs.h:12
virtual int32_t docID()
Returns the following:
Common scoring functionality for different types of queries.
Definition: Scorer.h:22
virtual int32_t advance(int32_t target)
Advances to the first beyond the current whose document number is greater than or equal to target....
boost::shared_ptr< Scorer > ScorerPtr
Definition: LuceneTypes.h:429
ReqOptSumScorer(const ScorerPtr &reqScorer, const ScorerPtr &optScorer)
ScorerPtr optScorer
Definition: ReqOptSumScorer.h:25
virtual double score()
Returns the score of the current document matching the query. Initially invalid, until next() is call...
virtual ~ReqOptSumScorer()
clucene.sourceforge.net