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


Loading...
Searching...
No Matches
FormatPostingsFieldsWriter.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 FORMATPOSTINGSFIELDSWRITER_H
8#define FORMATPOSTINGSFIELDSWRITER_H
9
11
12namespace Lucene {
13
40
41}
42
43#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Abstract API that consumes terms, doc, freq, prox and payloads postings. Concrete implementations of ...
Definition FormatPostingsFieldsConsumer.h:16
Definition FormatPostingsFieldsWriter.h:14
String segment
Definition FormatPostingsFieldsWriter.h:23
TermInfosWriterPtr termsOut
Definition FormatPostingsFieldsWriter.h:24
virtual void finish()
Called when we are done adding everything.
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
virtual FormatPostingsTermsConsumerPtr addField(const FieldInfoPtr &field)
Add a new field.
FieldInfosPtr fieldInfos
Definition FormatPostingsFieldsWriter.h:26
SegmentWriteStatePtr state
Definition FormatPostingsFieldsWriter.h:25
DefaultSkipListWriterPtr skipListWriter
Definition FormatPostingsFieldsWriter.h:28
int32_t totalNumDocs
Definition FormatPostingsFieldsWriter.h:29
FormatPostingsFieldsWriter(const SegmentWriteStatePtr &state, const FieldInfosPtr &fieldInfos)
FormatPostingsTermsWriterPtr termsWriter
Definition FormatPostingsFieldsWriter.h:27
DirectoryPtr dir
Definition FormatPostingsFieldsWriter.h:22
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition LuceneTypes.h:130
boost::shared_ptr< FormatPostingsTermsConsumer > FormatPostingsTermsConsumerPtr
Definition LuceneTypes.h:148
boost::shared_ptr< DefaultSkipListWriter > DefaultSkipListWriterPtr
Definition LuceneTypes.h:107
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition LuceneTypes.h:225
boost::shared_ptr< FormatPostingsTermsWriter > FormatPostingsTermsWriterPtr
Definition LuceneTypes.h:149
boost::shared_ptr< Directory > DirectoryPtr
Definition LuceneTypes.h:492
boost::shared_ptr< TermInfosWriter > TermInfosWriterPtr
Definition LuceneTypes.h:245
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition LuceneTypes.h:129

clucene.sourceforge.net