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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FormatPostingsPositionsWriter.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 FORMATPOSTINGSPOSITIONSWRITER_H
8 #define FORMATPOSTINGSPOSITIONSWRITER_H
9 
11 
12 namespace Lucene {
13 
15 public:
18 
20 
21 public:
24 
28 
29  int32_t lastPosition;
30 
31 public:
33  virtual void addPosition(int32_t position, ByteArray payload, int32_t payloadOffset, int32_t payloadLength);
34 
35  void setField(const FieldInfoPtr& fieldInfo);
36 
38  virtual void finish();
39 
40  void close();
41 };
42 
43 }
44 
45 #endif

clucene.sourceforge.net