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

clucene.sourceforge.net