7 #ifndef DOCUMENTSWRITERTHREADSTATE_H
8 #define DOCUMENTSWRITERTHREADSTATE_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Used by DocumentsWriter to maintain per-thread state. We keep a separate Posting hash and other state...
Definition: DocumentsWriterThreadState.h:17
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
DocConsumerPerThreadPtr consumer
Definition: DocumentsWriterThreadState.h:28
DocumentsWriterThreadState(const DocumentsWriterPtr &docWriter)
virtual ~DocumentsWriterThreadState()
bool doFlushAfter
Definition: DocumentsWriterThreadState.h:27
int32_t numThreads
Definition: DocumentsWriterThreadState.h:26
bool isIdle
Definition: DocumentsWriterThreadState.h:22
DocStatePtr docState
Definition: DocumentsWriterThreadState.h:29
DocumentsWriterWeakPtr _docWriter
Definition: DocumentsWriterThreadState.h:30
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
boost::shared_ptr< DocumentsWriter > DocumentsWriterPtr
Definition: LuceneTypes.h:123
boost::weak_ptr< DocumentsWriter > DocumentsWriterWeakPtr
Definition: LuceneTypes.h:123
boost::shared_ptr< DocConsumerPerThread > DocConsumerPerThreadPtr
Definition: LuceneTypes.h:107