7#ifndef CONJUNCTIONSCORER_H
8#define CONJUNCTIONSCORER_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Scorer for conjunctions, sets of queries, all of which are required.
Definition ConjunctionScorer.h:15
Collection< ScorerPtr > scorers
Definition ConjunctionScorer.h:23
virtual ~ConjunctionScorer()
int32_t lastDoc
Definition ConjunctionScorer.h:25
virtual int32_t docID()
Returns the following:
ConjunctionScorer(const SimilarityPtr &similarity, Collection< ScorerPtr > scorers)
double coord
Definition ConjunctionScorer.h:24
virtual double score()
Returns the score of the current document matching the query. Initially invalid, until nextDoc() or a...
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...
Common scoring functionality for different types of queries.
Definition Scorer.h:33
SimilarityPtr similarity
Definition Scorer.h:45
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Similarity > SimilarityPtr
Definition LuceneTypes.h:435