Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef SEGMENTTERMPOSITIONS_H
8 #define SEGMENTTERMPOSITIONS_H
55 virtual ByteArray
getPayload(ByteArray data, int32_t offset);
int32_t proxCount
Definition: SegmentTermPositions.h:23
virtual void skipPayload()
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: SegmentTermPositions.h:14
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
int32_t readDeltaPosition()
IndexInputPtr proxStream
Definition: SegmentTermPositions.h:19
Definition: SegmentTermDocs.h:14
int64_t lazySkipPointer
Definition: SegmentTermPositions.h:33
virtual int32_t nextPosition()
Returns next position in the current document.
virtual void skippingDoc()
virtual void lazySkip()
It is not always necessary to move the prox pointer to a new document after the freq pointer has been...
virtual void skipProx(int64_t proxPointer, int32_t payloadLength)
Overridden by SegmentTermPositions to skip in prox stream.
boost::shared_ptr< SegmentReader > SegmentReaderPtr
Definition: LuceneTypes.h:215
virtual ~SegmentTermPositions()
Definition: AbstractAllTermDocs.h:12
virtual void skipPositions(int32_t n)
virtual ByteArray getPayload(ByteArray data, int32_t offset)
Returns the payload data at the current term position.
int32_t lazySkipProxCount
Definition: SegmentTermPositions.h:34
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493
virtual int32_t read(Collection< int32_t > docs, Collection< int32_t > freqs)
Not supported.
boost::shared_ptr< TermInfo > TermInfoPtr
Definition: LuceneTypes.h:239
int32_t position
Definition: SegmentTermPositions.h:24
int32_t payloadLength
The current payload length.
Definition: SegmentTermPositions.h:27
SegmentTermPositions(const SegmentReaderPtr &parent)
virtual bool isPayloadAvailable()
Checks if a payload can be loaded at this position.
virtual void seek(const TermInfoPtr &ti, const TermPtr &term)
virtual bool next()
Moves to the next pair in the enumeration.
virtual void close()
Frees associated resources.
virtual int32_t getPayloadLength()
Returns the length of the payload at the current term position.
virtual void seek(const TermPtr &term)
Sets this to the data for a term.
bool needToLoadPayload
Indicates whether the payload of the current position has been read from the proxStream yet.
Definition: SegmentTermPositions.h:30
clucene.sourceforge.net