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
FieldInvertState.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 FIELDINVERTSTATE_H
8
#define FIELDINVERTSTATE_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
16
class
LPPAPI
FieldInvertState
:
public
LuceneObject
{
17
public
:
18
FieldInvertState
(int32_t position = 0, int32_t length = 0, int32_t numOverlap = 0, int32_t offset = 0,
double
boost = 0);
19
virtual
~
FieldInvertState
();
20
21
LUCENE_CLASS
(
FieldInvertState
);
22
23
INTERNAL:
24
int32_t position;
25
int32_t
length
;
26
int32_t
numOverlap
;
27
int32_t
offset
;
28
double
boost
;
29
AttributeSourcePtr
attributeSource
;
30
31
public
:
34
void
reset(
double
docBoost);
35
38
int32_t getPosition();
39
42
int32_t getLength();
43
46
int32_t getNumOverlap();
47
50
int32_t getOffset();
51
55
double
getBoost();
56
57
AttributeSourcePtr
getAttributeSource();
58
};
59
60
}
61
62
#endif
clucene.sourceforge.net