7#ifndef EXACTPHRASESCORER_H
8#define EXACTPHRASESCORER_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
ExactPhraseScorer(const WeightPtr &weight, Collection< TermPositionsPtr > tps, Collection< int32_t > offsets, const SimilarityPtr &similarity, ByteArray norms)
virtual double phraseFreq()
For a document containing all the phrase query terms, compute the frequency of the phrase in that doc...
virtual ~ExactPhraseScorer()
ByteArray norms
Definition PhraseScorer.h:32
WeightPtr weight
Definition PhraseScorer.h:30
PhraseScorer(const WeightPtr &weight, Collection< TermPositionsPtr > tps, Collection< int32_t > offsets, const SimilarityPtr &similarity, ByteArray norms)
SimilarityPtr similarity
Definition Scorer.h:45
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Weight > WeightPtr
Definition LuceneTypes.h:480
boost::shared_ptr< Similarity > SimilarityPtr
Definition LuceneTypes.h:435