45 virtual double score() = 0;
55 virtual bool score(
const CollectorPtr& collector, int32_t max, int32_t firstDocID);
BooleanScorer uses a ~16k array to score windows of docs. So it scores docs 0-16k first...
Definition: BooleanScorer.h:30
SimilarityPtr similarity
Definition: Scorer.h:29
This abstract class defines methods to iterate over a set of non-decreasing doc ids. Note that this class assumes it iterates on doc Ids, and therefore NO_MORE_DOCS is set to { NO_MORE_DOCS} in order to be used as a sentinel object. Implementations of this class are expected to consider INT_MAX as an invalid value.
Definition: DocIdSetIterator.h:17
Common scoring functionality for different types of queries.
Definition: Scorer.h:22
boost::shared_ptr< Collector > CollectorPtr
Definition: LuceneTypes.h:295
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
A Scorer which wraps another scorer and caches the score of the current document. Successive calls to...
Definition: ScoreCachingWrappingScorer.h:22
boost::shared_ptr< Similarity > SimilarityPtr
Definition: LuceneTypes.h:435