Lucene++ - a full-featured, c++ search engine
API Documentation


Loading...
Searching...
No Matches
ExactPhraseScorer.h
Go to the documentation of this file.
1
2// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3// Distributable under the terms of either the Apache License (Version 2.0)
4// or the GNU Lesser General Public License.
6
7#ifndef EXACTPHRASESCORER_H
8#define EXACTPHRASESCORER_H
9
10#include "PhraseScorer.h"
11
12namespace Lucene {
13
24
25}
26
27#endif
#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
Definition ExactPhraseScorer.h:14
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...
Scoring functionality for phrase queries. A document is considered matching if it contains the phrase...
Definition PhraseScorer.h:22
ByteArray norms
Definition PhraseScorer.h:32
WeightPtr weight
Definition PhraseScorer.h:30
SimilarityPtr similarity
Definition Scorer.h:45
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Similarity > SimilarityPtr
Definition LuceneTypes.h:435
boost::shared_ptr< Weight > WeightPtr
Definition LuceneTypes.h:480

clucene.sourceforge.net