36 virtual void flush(MapInvertedDocEndConsumerPerThreadCollectionInvertedDocEndConsumerPerField threadsAndFields,
const SegmentWriteStatePtr& state);
virtual void closeDocStore(const SegmentWriteStatePtr &state)
Definition: InvertedDocEndConsumer.h:14
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition: LuceneTypes.h:121
Writes norms. Each thread X field accumulates the norms for the doc/fields it saw, then the flush method below merges all of these together into a single _X.nrm file.
Definition: NormsWriter.h:16
virtual void setFieldInfos(const FieldInfosPtr &fieldInfos)
virtual InvertedDocEndConsumerPerThreadPtr addThread(const DocInverterPerThreadPtr &docInverterPerThread)
boost::shared_ptr< InvertedDocEndConsumerPerThread > InvertedDocEndConsumerPerThreadPtr
Definition: LuceneTypes.h:168
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
static uint8_t getDefaultNorm()
FieldInfosPtr fieldInfos
Definition: NormsWriter.h:21
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
virtual void flush(MapInvertedDocEndConsumerPerThreadCollectionInvertedDocEndConsumerPerField threadsAndFields, const SegmentWriteStatePtr &state)
Produce _X.nrm if any document had a field with norms not disabled.
virtual void files(HashSet< String > files)