Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef TERMPOSITIONS_H
8 #define TERMPOSITIONS_H
45 virtual ByteArray
getPayload(ByteArray data, int32_t offset);
virtual ByteArray getPayload(ByteArray data, int32_t offset)
Returns the payload data at the current term position. This is invalid until nextPosition() is called...
virtual int32_t getPayloadLength()
Returns the length of the payload at the current term position. This is invalid until {} is called fo...
virtual int32_t nextPosition()
Returns next position in the current document. It is an error to call this more than freq() times wit...
Definition: AbstractAllTermDocs.h:12
TermPositions provides an interface for enumerating the <document, frequency, <position>*> tuples for...
Definition: TermPositions.h:18
#define LUCENE_INTERFACE(Name)
Definition: LuceneObject.h:19
virtual bool isPayloadAvailable()
Checks if a payload can be loaded at this position. Payloads can only be loaded once per call to next...
TermDocs provides an interface for enumerating <document, frequency>; pairs for a term....
Definition: TermDocs.h:19
clucene.sourceforge.net