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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FormatPostingsFieldsWriter.h
Go to the documentation of this file.
1 // 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 FORMATPOSTINGSFIELDSWRITER_H
8 #define FORMATPOSTINGSFIELDSWRITER_H
9 
11 
12 namespace Lucene {
13 
15 public:
18 
20 
21 public:
23  String segment;
29  int32_t totalNumDocs;
30 
31 public:
32  virtual void initialize();
33 
36 
38  virtual void finish();
39 };
40 
41 }
42 
43 #endif
Definition: FormatPostingsFieldsWriter.h:14
int32_t totalNumDocs
Definition: FormatPostingsFieldsWriter.h:29
FieldInfosPtr fieldInfos
Definition: FormatPostingsFieldsWriter.h:26
Abstract API that consumes terms, doc, freq, prox and payloads postings. Concrete implementations of ...
Definition: FormatPostingsFieldsConsumer.h:16
boost::shared_ptr< FormatPostingsTermsWriter > FormatPostingsTermsWriterPtr
Definition: LuceneTypes.h:146
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
boost::shared_ptr< DefaultSkipListWriter > DefaultSkipListWriterPtr
Definition: LuceneTypes.h:104
String segment
Definition: FormatPostingsFieldsWriter.h:23
FormatPostingsFieldsWriter(const SegmentWriteStatePtr &state, const FieldInfosPtr &fieldInfos)
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
TermInfosWriterPtr termsOut
Definition: FormatPostingsFieldsWriter.h:24
virtual void finish()
Called when we are done adding everything.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
DirectoryPtr dir
Definition: FormatPostingsFieldsWriter.h:19
boost::shared_ptr< FormatPostingsTermsConsumer > FormatPostingsTermsConsumerPtr
Definition: LuceneTypes.h:145
virtual FormatPostingsTermsConsumerPtr addField(const FieldInfoPtr &field)
Add a new field.
DefaultSkipListWriterPtr skipListWriter
Definition: FormatPostingsFieldsWriter.h:28
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
FormatPostingsTermsWriterPtr termsWriter
Definition: FormatPostingsFieldsWriter.h:27
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
boost::shared_ptr< TermInfosWriter > TermInfosWriterPtr
Definition: LuceneTypes.h:242
SegmentWriteStatePtr state
Definition: FormatPostingsFieldsWriter.h:25
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...

clucene.sourceforge.net