Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef DEFAULTSKIPLISTREADER_H
8 #define DEFAULTSKIPLISTREADER_H
33 void init(int64_t
skipPointer, int64_t freqBasePointer, int64_t proxBasePointer, int32_t df,
bool storesPayloads);
virtual int32_t readSkipData(int32_t level, const IndexInputPtr &skipStream)
Subclasses must implement the actual skip data encoding in this method.
virtual void seekChild(int32_t level)
Seeks the skip entry on the given level.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void init(int64_t skipPointer, int64_t freqBasePointer, int64_t proxBasePointer, int32_t df, bool storesPayloads)
int32_t lastPayloadLength
Definition: DefaultSkipListReader.h:30
Collection< int32_t > skipInterval
Definition: MultiLevelSkipListReader.h:45
Collection< IndexInputPtr > skipStream
Definition: MultiLevelSkipListReader.h:43
int64_t lastProxPointer
Definition: DefaultSkipListReader.h:29
Implements the skip list reader for the default posting list format that stores positions and payload...
Definition: DefaultSkipListReader.h:15
virtual ~DefaultSkipListReader()
int64_t getFreqPointer()
Returns the freq pointer of the doc to which the last call of MultiLevelSkipListReader#skipTo(int) ha...
Collection< int64_t > freqPointer
Definition: DefaultSkipListReader.h:24
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
DefaultSkipListReader(const IndexInputPtr &skipStream, int32_t maxSkipLevels, int32_t skipInterval)
Collection< int64_t > proxPointer
Definition: DefaultSkipListReader.h:25
This abstract class reads skip lists with multiple levels.
Definition: MultiLevelSkipListReader.h:20
virtual void setLastSkipData(int32_t level)
Copies the values of the last read skip entry on this level.
Collection< int32_t > payloadLength
Definition: DefaultSkipListReader.h:26
bool currentFieldStoresPayloads
Definition: DefaultSkipListReader.h:20
int32_t getPayloadLength()
Returns the payload length of the payload stored just before the doc to which the last call of {} has...
int64_t lastFreqPointer
Definition: DefaultSkipListReader.h:28
int64_t getProxPointer()
Returns the prox pointer of the doc to which the last call of MultiLevelSkipListReader#skipTo(int) ha...
Collection< int64_t > skipPointer
Definition: MultiLevelSkipListReader.h:44
clucene.sourceforge.net