Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Public for extension only.
Definition: SpanScorer.h:15
virtual double score()
Returns the score of the current document matching the query. Initially invalid, until {} or #advanc...
int32_t doc
Definition: SpanScorer.h:28
ByteArray norms
Definition: SpanScorer.h:25
bool more
Definition: SpanScorer.h:27
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...
virtual bool setFreqCurrentDoc()
double freq
Definition: SpanScorer.h:29
SpanScorer(const SpansPtr &spans, const WeightPtr &weight, const SimilarityPtr &similarity, ByteArray norms)
virtual float termFreq()
Definition: SpanScorer.h:36
virtual int32_t docID()
Returns the following:
Definition: AbstractAllTermDocs.h:12
Definition: PayloadNearQuery.h:52
boost::shared_ptr< Weight > WeightPtr
Definition: LuceneTypes.h:480
SpansPtr spans
Definition: SpanScorer.h:20
double value
Definition: SpanScorer.h:26
Public for use by other weight implementations.
Definition: SpanWeight.h:15
Common scoring functionality for different types of queries.
Definition: Scorer.h:33
boost::shared_ptr< Spans > SpansPtr
Definition: LuceneTypes.h:453
WeightPtr weight
Definition: SpanScorer.h:24
boost::shared_ptr< Similarity > SimilarityPtr
Definition: LuceneTypes.h:435
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< Explanation > ExplanationPtr
Definition: LuceneTypes.h:333
virtual ExplanationPtr explain(int32_t doc)
This method is no longer an official member of Scorer, but it is needed by SpanWeight to build an exp...
clucene.sourceforge.net