45 virtual ByteArray
getPayload(ByteArray data, int32_t offset);
#define LUCENE_INTERFACE(Name)
Definition LuceneObject.h:19
TermDocs provides an interface for enumerating <document, frequency>; pairs for a term....
Definition TermDocs.h:19
TermPositions provides an interface for enumerating the <document, frequency, <position>*> tuples for...
Definition TermPositions.h:18
virtual int32_t getPayloadLength()
Returns the length of the payload at the current term position. This is invalid until nextPosition() ...
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 bool isPayloadAvailable()
Checks if a payload can be loaded at this position. Payloads can only be loaded once per call to next...
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