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
TermInfo.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 TERMINFO_H
8
#define TERMINFO_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
15
class
TermInfo
:
public
LuceneObject
{
16
public
:
17
TermInfo
(
const
TermInfoPtr
& ti);
18
TermInfo
(int32_t df = 0, int64_t fp = 0, int64_t pp = 0);
19
virtual
~TermInfo
();
20
21
LUCENE_CLASS
(
TermInfo
);
22
23
public
:
25
int32_t
docFreq
;
26
int64_t
freqPointer
;
27
int64_t
proxPointer
;
28
int32_t
skipOffset
;
29
30
public
:
31
void
set
(int32_t
docFreq
, int64_t
freqPointer
, int64_t
proxPointer
, int32_t
skipOffset
);
32
void
set
(
const
TermInfoPtr
& ti);
33
};
34
35
}
36
37
#endif
clucene.sourceforge.net