31 virtual void flush(MapDocFieldConsumerPerThreadCollectionDocFieldConsumerPerField threadsAndFields,
const SegmentWriteStatePtr& state);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: DocFieldConsumer.h:14
FieldInfosPtr fieldInfos
Definition: DocFieldConsumer.h:21
This is a DocFieldConsumer that inverts each field, separately, from a Document, and accepts a Invert...
Definition: DocInverter.h:16
virtual void flush(MapDocFieldConsumerPerThreadCollectionDocFieldConsumerPerField threadsAndFields, const SegmentWriteStatePtr &state)
Called when DocumentsWriter decides to create a new segment.
virtual void closeDocStore(const SegmentWriteStatePtr &state)
Called when DocumentsWriter decides to close the doc stores.
virtual void abort()
Called when an aborting exception is hit.
virtual DocFieldConsumerPerThreadPtr addThread(const DocFieldProcessorPerThreadPtr &docFieldProcessorPerThread)
Add a new thread.
DocInverter(const InvertedDocConsumerPtr &consumer, const InvertedDocEndConsumerPtr &endConsumer)
virtual bool freeRAM()
Called when DocumentsWriter is using too much RAM.
virtual void setFieldInfos(const FieldInfosPtr &fieldInfos)
InvertedDocEndConsumerPtr endConsumer
Definition: DocInverter.h:25
InvertedDocConsumerPtr consumer
Definition: DocInverter.h:24
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
boost::shared_ptr< InvertedDocConsumer > InvertedDocConsumerPtr
Definition: LuceneTypes.h:163
boost::shared_ptr< DocFieldConsumerPerThread > DocFieldConsumerPerThreadPtr
Definition: LuceneTypes.h:110
boost::shared_ptr< InvertedDocEndConsumer > InvertedDocEndConsumerPtr
Definition: LuceneTypes.h:166
boost::shared_ptr< DocFieldProcessorPerThread > DocFieldProcessorPerThreadPtr
Definition: LuceneTypes.h:117