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

clucene.sourceforge.net