Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef FORMATPOSTINGSDOCSWRITER_H
8 #define FORMATPOSTINGSDOCSWRITER_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
bool storePayloads
Definition: FormatPostingsDocsWriter.h:32
virtual FormatPostingsPositionsConsumerPtr addDoc(int32_t docID, int32_t termDocFreq)
Adds a new doc in this term. If this returns null then we just skip consuming positions/payloads.
boost::shared_ptr< DefaultSkipListWriter > DefaultSkipListWriterPtr
Definition: LuceneTypes.h:104
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
int32_t skipInterval
Definition: FormatPostingsDocsWriter.h:28
IndexOutputPtr out
Definition: FormatPostingsDocsWriter.h:20
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
boost::shared_ptr< FormatPostingsPositionsWriter > FormatPostingsPositionsWriterPtr
Definition: LuceneTypes.h:144
TermInfoPtr termInfo
Definition: FormatPostingsDocsWriter.h:39
SegmentWriteStatePtr state
Definition: FormatPostingsDocsWriter.h:25
virtual ~FormatPostingsDocsWriter()
Definition: AbstractAllTermDocs.h:12
Definition: FormatPostingsDocsConsumer.h:14
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
UTF8ResultPtr utf8
Definition: FormatPostingsDocsWriter.h:40
FormatPostingsTermsWriterWeakPtr _parent
Definition: FormatPostingsDocsWriter.h:24
boost::shared_ptr< FormatPostingsPositionsConsumer > FormatPostingsPositionsConsumerPtr
Definition: LuceneTypes.h:143
FormatPostingsDocsWriter(const SegmentWriteStatePtr &state, const FormatPostingsTermsWriterPtr &parent)
int32_t lastDocID
Definition: FormatPostingsDocsWriter.h:36
boost::shared_ptr< TermInfo > TermInfoPtr
Definition: LuceneTypes.h:239
int64_t freqStart
Definition: FormatPostingsDocsWriter.h:33
DefaultSkipListWriterPtr skipListWriter
Definition: FormatPostingsDocsWriter.h:27
FormatPostingsPositionsWriterPtr posWriter
Definition: FormatPostingsDocsWriter.h:26
int32_t totalNumDocs
Definition: FormatPostingsDocsWriter.h:29
int32_t df
Definition: FormatPostingsDocsWriter.h:37
boost::shared_ptr< FormatPostingsTermsWriter > FormatPostingsTermsWriterPtr
Definition: LuceneTypes.h:146
virtual void finish()
Called when we are done adding docs to this term.
bool omitTermFreqAndPositions
Definition: FormatPostingsDocsWriter.h:31
void setField(const FieldInfoPtr &fieldInfo)
FieldInfoPtr fieldInfo
Definition: FormatPostingsDocsWriter.h:34
Consumes doc & freq, writing them using the current index file format.
Definition: FormatPostingsDocsWriter.h:15
boost::weak_ptr< FormatPostingsTermsWriter > FormatPostingsTermsWriterWeakPtr
Definition: LuceneTypes.h:146
boost::shared_ptr< UTF8Result > UTF8ResultPtr
Definition: LuceneTypes.h:559
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
clucene.sourceforge.net