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
TermFreqVector.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 TERMFREQVECTOR_H
8
#define TERMFREQVECTOR_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene
13
{
18
class
LPPAPI
TermFreqVector
19
{
20
protected
:
21
TermFreqVector
();
22
23
public
:
24
virtual
~
TermFreqVector
();
25
LUCENE_INTERFACE
(
TermFreqVector
);
26
27
public
:
30
virtual
String getField();
31
33
virtual
int32_t size();
34
36
virtual
Collection<String>
getTerms();
37
41
virtual
Collection<int32_t>
getTermFrequencies();
42
45
virtual
int32_t indexOf(
const
String& term);
46
53
virtual
Collection<int32_t>
indexesOf(
Collection<String>
terms, int32_t start, int32_t length);
54
};
55
}
56
57
#endif
clucene.sourceforge.net