Lucene++ - a full-featured, c++ search engine
API Documentation
double queryWeight
Definition: SpanWeight.h:27
boost::shared_ptr< SpanQuery > SpanQueryPtr
Definition: LuceneTypes.h:450
SpanQueryPtr query
Definition: SpanWeight.h:30
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual ScorerPtr scorer(const IndexReaderPtr &reader, bool scoreDocsInOrder, bool topScorer)
Returns a Scorer which scores documents in/out-of order according to scoreDocsInOrder.
double idf
Definition: SpanWeight.h:25
Definition: PayloadNearQuery.h:63
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
SpanWeight(const SpanQueryPtr &query, const SearcherPtr &searcher)
virtual double getValue()
The weight for this query.
virtual ExplanationPtr explain(const IndexReaderPtr &reader, int32_t doc)
An explanation of the score computation for the named document.
Calculate query weights and build query scorers.
Definition: Weight.h:30
Definition: AbstractAllTermDocs.h:12
virtual void normalize(double norm)
Assigns the query normalization factor to this.
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
double value
Definition: SpanWeight.h:24
Public for use by other weight implementations.
Definition: SpanWeight.h:15
IDFExplanationPtr idfExp
Definition: SpanWeight.h:31
boost::shared_ptr< Scorer > ScorerPtr
Definition: LuceneTypes.h:429
SimilarityPtr similarity
Definition: SpanWeight.h:20
boost::shared_ptr< IDFExplanation > IDFExplanationPtr
Definition: LuceneTypes.h:372
virtual QueryPtr getQuery()
The query that this concerns.
virtual double sumOfSquaredWeights()
The sum of squared weights of contained query clauses.
double queryNorm
Definition: SpanWeight.h:26
SetTerm terms
Definition: SpanWeight.h:29
boost::shared_ptr< Similarity > SimilarityPtr
Definition: LuceneTypes.h:435
boost::shared_ptr< Explanation > ExplanationPtr
Definition: LuceneTypes.h:333
boost::shared_ptr< Searcher > SearcherPtr
Definition: LuceneTypes.h:434
clucene.sourceforge.net