7 #ifndef FORMATPOSTINGSDOCSCONSUMER_H 8 #define FORMATPOSTINGSDOCSCONSUMER_H virtual ~FormatPostingsDocsConsumer()
virtual void finish()=0
Called when we are done adding docs to this term.
Base class for all Lucene classes.
Definition: LuceneObject.h:31
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
virtual FormatPostingsPositionsConsumerPtr addDoc(int32_t docID, int32_t termDocFreq)=0
Adds a new doc in this term. If this returns null then we just skip consuming positions/payloads.
Definition: FormatPostingsDocsConsumer.h:14
boost::shared_ptr< FormatPostingsPositionsConsumer > FormatPostingsPositionsConsumerPtr
Definition: LuceneTypes.h:143