7#ifndef FORMATPOSTINGSDOCSCONSUMER_H
8#define FORMATPOSTINGSDOCSCONSUMER_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Definition FormatPostingsDocsConsumer.h:14
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.
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
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< FormatPostingsPositionsConsumer > FormatPostingsPositionsConsumerPtr
Definition LuceneTypes.h:143