7 #ifndef REQEXCLSCORER_H 8 #define REQEXCLSCORER_H 33 virtual int32_t
docID();
38 virtual double score();
40 virtual int32_t
advance(int32_t target);
DocIdSetIteratorPtr exclDisi
Definition: ReqExclScorer.h:28
int32_t toNonExcluded()
Advance to non excluded doc.
boost::shared_ptr< Scorer > ScorerPtr
Definition: LuceneTypes.h:429
int32_t doc
Definition: ReqExclScorer.h:29
virtual int32_t advance(int32_t target)
Advances to the first beyond the current whose document number is greater than or equal to target...
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...
boost::shared_ptr< DocIdSetIterator > DocIdSetIteratorPtr
Definition: LuceneTypes.h:324
Common scoring functionality for different types of queries.
Definition: Scorer.h:22
virtual double score()
Returns the score of the current document matching the query. Initially invalid, until next() is call...
virtual int32_t docID()
Returns the following:
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
ScorerPtr reqScorer
Definition: ReqExclScorer.h:24
ReqExclScorer(const ScorerPtr &reqScorer, const DocIdSetIteratorPtr &exclDisi)
Construct a ReqExclScorer.
A Scorer for queries with a required subscorer and an excluding (prohibited) sub DocIdSetIterator. This Scorer implements Scorer#skipTo(int32_t), and it uses the skipTo() on the given scorers.
Definition: ReqExclScorer.h:16