Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef TERMSHASHPERTHREAD_H
8 #define TERMSHASHPERTHREAD_H
51 void reset(
bool recyclePostings);
void morePostings()
perField calls this when it needs more postings
virtual ~TermsHashPerThread()
TermsHashPerThreadWeakPtr _primaryPerThread
Definition: TermsHashPerThread.h:25
boost::shared_ptr< ByteBlockPool > ByteBlockPoolPtr
Definition: LuceneTypes.h:89
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void reset(bool recyclePostings)
Clear all state.
TermsHashConsumerPerThreadPtr consumer
Definition: TermsHashPerThread.h:26
Definition: InvertedDocConsumerPerThread.h:14
static bool noNullPostings(Collection< RawPostingListPtr > postings, int32_t count, const String &details)
boost::shared_ptr< InvertedDocConsumerPerField > InvertedDocConsumerPerFieldPtr
Definition: LuceneTypes.h:164
TermsHashPerThread(const DocInverterPerThreadPtr &docInverterPerThread, const TermsHashPtr &termsHash, const TermsHashPtr &nextTermsHash, const TermsHashPerThreadPtr &primaryPerThread)
boost::shared_ptr< DocWriter > DocWriterPtr
Definition: LuceneTypes.h:125
boost::shared_ptr< TermsHash > TermsHashPtr
Definition: LuceneTypes.h:246
virtual void startDocument()
boost::shared_ptr< CharBlockPool > CharBlockPoolPtr
Definition: LuceneTypes.h:93
boost::weak_ptr< TermsHashPerThread > TermsHashPerThreadWeakPtr
Definition: LuceneTypes.h:251
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition: LuceneTypes.h:121
IntBlockPoolPtr intPool
Definition: TermsHashPerThread.h:30
boost::shared_ptr< TermsHashPerThread > TermsHashPerThreadPtr
Definition: LuceneTypes.h:251
TermsHashPerThreadPtr nextPerThread
Definition: TermsHashPerThread.h:27
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
boost::shared_ptr< DocInverterPerField > DocInverterPerFieldPtr
Definition: LuceneTypes.h:120
DocStatePtr docState
Definition: TermsHashPerThread.h:33
boost::shared_ptr< IntBlockPool > IntBlockPoolPtr
Definition: LuceneTypes.h:161
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
virtual DocWriterPtr finishDocument()
CharBlockPoolPtr charPool
Definition: TermsHashPerThread.h:29
bool primary
Definition: TermsHashPerThread.h:32
DocInverterPerThreadWeakPtr _docInverterPerThread
Definition: TermsHashPerThread.h:19
int32_t freePostingsCount
Definition: TermsHashPerThread.h:36
Definition: TermsHashPerThread.h:14
boost::weak_ptr< TermsHash > TermsHashWeakPtr
Definition: LuceneTypes.h:246
ByteBlockPoolPtr bytePool
Definition: TermsHashPerThread.h:31
virtual InvertedDocConsumerPerFieldPtr addField(const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo)
boost::shared_ptr< TermsHashConsumerPerThread > TermsHashConsumerPerThreadPtr
Definition: LuceneTypes.h:249
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
boost::weak_ptr< DocInverterPerThread > DocInverterPerThreadWeakPtr
Definition: LuceneTypes.h:121
TermsHashWeakPtr _termsHash
Definition: TermsHashPerThread.h:23
Collection< RawPostingListPtr > freePostings
Definition: TermsHashPerThread.h:35
TermsHashPtr nextTermsHash
Definition: TermsHashPerThread.h:24
clucene.sourceforge.net