7 #ifndef TERMINFOSREADER_H 8 #define TERMINFOSREADER_H String segment
Definition: TermInfosReader.h:26
int64_t getPosition(const TermPtr &term)
Returns the position of a Term in the set or -1.
boost::shared_ptr< TermInfosReaderThreadResources > TermInfosReaderThreadResourcesPtr
Definition: LuceneTypes.h:241
int32_t totalIndexInterval
Definition: TermInfosReader.h:36
TermInfosReaderThreadResourcesPtr getThreadResources()
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
int32_t getMaxSkipLevels()
CloseableThreadLocal< TermInfosReaderThreadResources > threadResources
Definition: TermInfosReader.h:28
Collection< int64_t > indexPointers
Definition: TermInfosReader.h:34
int32_t getSkipInterval()
SegmentTermEnumPtr origEnum
Definition: TermInfosReader.h:29
void seekEnum(const SegmentTermEnumPtr &enumerator, int32_t indexOffset)
int64_t _size
Definition: TermInfosReader.h:30
Collection< TermPtr > indexTerms
Definition: TermInfosReader.h:32
static const int32_t DEFAULT_CACHE_SIZE
Definition: TermInfosReader.h:38
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
Base class for all Lucene classes.
Definition: LuceneObject.h:31
int64_t size()
Returns the number of term/value pairs in the set.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
int32_t getIndexOffset(const TermPtr &term)
Returns the offset of the greatest index entry which is less than or equal to term.
SegmentTermEnumPtr termEnum
Definition: TermInfosReader.h:78
TermInfoCachePtr termInfoCache
Definition: TermInfosReader.h:84
FieldInfosPtr fieldInfos
Definition: TermInfosReader.h:27
Definition: TermInfosReader.h:74
This stores a monotonically increasing set of <Term, TermInfo> pairs in a Directory. Pairs are accessed either by Term or by ordinal position the set.
Definition: TermInfosReader.h:17
Collection< TermInfoPtr > indexInfos
Definition: TermInfosReader.h:33
boost::shared_ptr< TermInfo > TermInfoPtr
Definition: LuceneTypes.h:239
General purpose thread-local map.
Definition: CloseableThreadLocal.h:16
virtual ~TermInfosReader()
boost::shared_ptr< SegmentTermEnum > SegmentTermEnumPtr
Definition: LuceneTypes.h:218
SegmentTermEnumPtr terms()
Returns an enumeration of all the Terms and TermInfos in the set.
TermInfosReader(const DirectoryPtr &dir, const String &seg, const FieldInfosPtr &fis, int32_t readBufferSize, int32_t indexDivisor)
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
DirectoryPtr directory
Definition: TermInfosReader.h:22