Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
ExactPhraseScorer.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2011 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
12
namespace
Lucene
13
{
14
class
ExactPhraseScorer
:
public
PhraseScorer
15
{
16
public
:
17
ExactPhraseScorer
(
WeightPtr
weight
,
Collection<TermPositionsPtr>
tps,
Collection<int32_t>
offsets,
SimilarityPtr
similarity
, ByteArray
norms
);
18
virtual
~ExactPhraseScorer
();
19
20
LUCENE_CLASS
(
ExactPhraseScorer
);
21
22
protected
:
23
virtual
double
phraseFreq
();
24
};
25
}
26
27
#endif
clucene.sourceforge.net