7 #ifndef FORMATPOSTINGSDOCSWRITER_H
8 #define FORMATPOSTINGSDOCSWRITER_H
int32_t lastDocID
Definition: FormatPostingsDocsWriter.h:36
boost::shared_ptr< FormatPostingsPositionsWriter > FormatPostingsPositionsWriterPtr
Definition: LuceneTypes.h:144
virtual void finish()
Called when we are done adding docs to this term.
boost::shared_ptr< UTF8Result > UTF8ResultPtr
Definition: LuceneTypes.h:559
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
virtual ~FormatPostingsDocsWriter()
void setField(const FieldInfoPtr &fieldInfo)
int64_t freqStart
Definition: FormatPostingsDocsWriter.h:33
FormatPostingsPositionsWriterPtr posWriter
Definition: FormatPostingsDocsWriter.h:26
FieldInfoPtr fieldInfo
Definition: FormatPostingsDocsWriter.h:34
UTF8ResultPtr utf8
Definition: FormatPostingsDocsWriter.h:40
IndexOutputPtr out
Definition: FormatPostingsDocsWriter.h:20
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
DefaultSkipListWriterPtr skipListWriter
Definition: FormatPostingsDocsWriter.h:27
TermInfoPtr termInfo
Definition: FormatPostingsDocsWriter.h:39
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.
bool omitTermFreqAndPositions
Definition: FormatPostingsDocsWriter.h:31
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Consumes doc & freq, writing them using the current index file format.
Definition: FormatPostingsDocsWriter.h:15
SegmentWriteStatePtr state
Definition: FormatPostingsDocsWriter.h:25
Definition: FormatPostingsDocsConsumer.h:14
FormatPostingsTermsWriterWeakPtr _parent
Definition: FormatPostingsDocsWriter.h:24
FormatPostingsDocsWriter(const SegmentWriteStatePtr &state, const FormatPostingsTermsWriterPtr &parent)
int32_t skipInterval
Definition: FormatPostingsDocsWriter.h:28
boost::shared_ptr< TermInfo > TermInfoPtr
Definition: LuceneTypes.h:239
bool storePayloads
Definition: FormatPostingsDocsWriter.h:32
int32_t totalNumDocs
Definition: FormatPostingsDocsWriter.h:29
boost::shared_ptr< FormatPostingsPositionsConsumer > FormatPostingsPositionsConsumerPtr
Definition: LuceneTypes.h:143
int32_t df
Definition: FormatPostingsDocsWriter.h:37
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
boost::weak_ptr< FormatPostingsTermsWriter > FormatPostingsTermsWriterWeakPtr
Definition: LuceneTypes.h:146