7 #ifndef CUSTOMSCOREPROVIDER_H 8 #define CUSTOMSCOREPROVIDER_H 52 virtual double customScore(int32_t doc,
double subQueryScore,
Collection<double> valSrcScores);
71 virtual double customScore(int32_t doc,
double subQueryScore,
double valSrcScore);
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
boost::shared_ptr< Explanation > ExplanationPtr
Definition: LuceneTypes.h:333
Base class for all Lucene classes.
Definition: LuceneObject.h:31
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
An instance of this subclass should be returned by CustomScoreQuery#getCustomScoreProvider, if you want to modify the custom score calculation of a CustomScoreQuery.
Definition: CustomScoreProvider.h:21