#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for all Lucene classes.
Definition LuceneObject.h:31
Calculate query weights and build query scorers.
Definition Weight.h:30
virtual void normalize(double norm)=0
Assigns the query normalization factor to this.
virtual double sumOfSquaredWeights()=0
The sum of squared weights of contained query clauses.
virtual ScorerPtr scorer(const IndexReaderPtr &reader, bool scoreDocsInOrder, bool topScorer)=0
Returns a Scorer which scores documents in/out-of order according to scoreDocsInOrder.
virtual ExplanationPtr explain(const IndexReaderPtr &reader, int32_t doc)=0
An explanation of the score computation for the named document.
virtual bool scoresDocsOutOfOrder()
Returns true if this implementation scores docs only out of order. This method is used in conjunction...
virtual double getValue()=0
The weight for this query.
virtual QueryPtr getQuery()=0
The query that this concerns.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Query > QueryPtr
Definition LuceneTypes.h:420
boost::shared_ptr< Explanation > ExplanationPtr
Definition LuceneTypes.h:333
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157
boost::shared_ptr< Scorer > ScorerPtr
Definition LuceneTypes.h:429