Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FormatPostingsTermsWriter.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 FORMATPOSTINGSTERMSWRITER_H
8 #define FORMATPOSTINGSTERMSWRITER_H
9 
11 
12 namespace Lucene {
13 
15 public:
18 
20 
21 public:
27 
28  CharArray currentTerm;
30 
31  int64_t freqStart;
32  int64_t proxStart;
33 
34 public:
35  virtual void initialize();
36 
37  void setField(const FieldInfoPtr& fieldInfo);
38 
40  virtual FormatPostingsDocsConsumerPtr addTerm(CharArray text, int32_t start);
41 
43  virtual void finish();
44 
45  void close();
46 };
47 
48 }
49 
50 #endif

clucene.sourceforge.net