Lucene++ - a full-featured, c++ search engine
API Documentation


Loading...
Searching...
No Matches
TermsHashPerThread.h
Go to the documentation of this file.
1
2// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3// Distributable under the terms of either the Apache License (Version 2.0)
4// or the GNU Lesser General Public License.
6
7#ifndef TERMSHASHPERTHREAD_H
8#define TERMSHASHPERTHREAD_H
9
11
12namespace Lucene {
13
56
57}
58
59#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Definition InvertedDocConsumerPerThread.h:14
Definition TermsHashPerThread.h:14
Collection< RawPostingListPtr > freePostings
Definition TermsHashPerThread.h:35
virtual DocWriterPtr finishDocument()
static bool noNullPostings(Collection< RawPostingListPtr > postings, int32_t count, const String &details)
TermsHashConsumerPerThreadPtr consumer
Definition TermsHashPerThread.h:26
ByteBlockPoolPtr bytePool
Definition TermsHashPerThread.h:31
IntBlockPoolPtr intPool
Definition TermsHashPerThread.h:30
virtual InvertedDocConsumerPerFieldPtr addField(const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo)
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
void morePostings()
perField calls this when it needs more postings
bool primary
Definition TermsHashPerThread.h:32
CharBlockPoolPtr charPool
Definition TermsHashPerThread.h:29
virtual void startDocument()
TermsHashWeakPtr _termsHash
Definition TermsHashPerThread.h:23
DocInverterPerThreadWeakPtr _docInverterPerThread
Definition TermsHashPerThread.h:22
TermsHashPerThread(const DocInverterPerThreadPtr &docInverterPerThread, const TermsHashPtr &termsHash, const TermsHashPtr &nextTermsHash, const TermsHashPerThreadPtr &primaryPerThread)
TermsHashPerThreadPtr nextPerThread
Definition TermsHashPerThread.h:27
int32_t freePostingsCount
Definition TermsHashPerThread.h:36
DocStatePtr docState
Definition TermsHashPerThread.h:33
TermsHashPtr nextTermsHash
Definition TermsHashPerThread.h:24
TermsHashPerThreadWeakPtr _primaryPerThread
Definition TermsHashPerThread.h:25
void reset(bool recyclePostings)
Clear all state.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DocState > DocStatePtr
Definition LuceneTypes.h:122
boost::shared_ptr< DocInverterPerField > DocInverterPerFieldPtr
Definition LuceneTypes.h:120
boost::shared_ptr< TermsHashConsumerPerThread > TermsHashConsumerPerThreadPtr
Definition LuceneTypes.h:249
boost::weak_ptr< DocInverterPerThread > DocInverterPerThreadWeakPtr
Definition LuceneTypes.h:121
boost::shared_ptr< IntBlockPool > IntBlockPoolPtr
Definition LuceneTypes.h:161
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition LuceneTypes.h:121
boost::shared_ptr< CharBlockPool > CharBlockPoolPtr
Definition LuceneTypes.h:93
boost::weak_ptr< TermsHashPerThread > TermsHashPerThreadWeakPtr
Definition LuceneTypes.h:251
boost::shared_ptr< ByteBlockPool > ByteBlockPoolPtr
Definition LuceneTypes.h:89
boost::shared_ptr< TermsHashPerThread > TermsHashPerThreadPtr
Definition LuceneTypes.h:251
boost::shared_ptr< DocWriter > DocWriterPtr
Definition LuceneTypes.h:125
boost::weak_ptr< TermsHash > TermsHashWeakPtr
Definition LuceneTypes.h:246
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition LuceneTypes.h:126
boost::shared_ptr< InvertedDocConsumerPerField > InvertedDocConsumerPerFieldPtr
Definition LuceneTypes.h:164
boost::shared_ptr< TermsHash > TermsHashPtr
Definition LuceneTypes.h:246

clucene.sourceforge.net