Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef MULTIPLETERMPOSITIONS_H
8 #define MULTIPLETERMPOSITIONS_H
33 virtual int32_t
doc();
47 virtual ByteArray
getPayload(ByteArray data, int32_t offset);
virtual ByteArray getPayload(ByteArray data, int32_t offset)
Not implemented.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
IntQueuePtr posList
Definition: MultipleTermPositions.h:27
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
virtual void seek(const TermPtr &term)
Not implemented.
virtual bool next()
Moves to the next pair in the enumeration. Returns true if there is such a next pair in the enumerati...
virtual int32_t read(Collection< int32_t > docs, Collection< int32_t > freqs)
Not implemented.
int32_t _freq
Definition: MultipleTermPositions.h:25
virtual int32_t nextPosition()
Returns next position in the current document. It is an error to call this more than freq() times wit...
virtual ~MultipleTermPositions()
boost::shared_ptr< TermPositionsQueue > TermPositionsQueuePtr
Definition: LuceneTypes.h:244
virtual bool skipTo(int32_t target)
Skips entries to the first beyond the current whose document number is greater than or equal to targe...
Definition: AbstractAllTermDocs.h:12
virtual bool isPayloadAvailable()
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Allows you to iterate over the TermPositions for multiple Terms as a single TermPositions.
Definition: MultipleTermPositions.h:16
boost::shared_ptr< TermEnum > TermEnumPtr
Definition: LuceneTypes.h:235
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
TermPositions provides an interface for enumerating the <document, frequency, <position>*> tuples for...
Definition: TermPositions.h:18
MultipleTermPositions(const IndexReaderPtr &indexReader, Collection< TermPtr > terms)
TermPositionsQueuePtr termPositionsQueue
Definition: MultipleTermPositions.h:26
int32_t _doc
Definition: MultipleTermPositions.h:21
boost::shared_ptr< IntQueue > IntQueuePtr
Definition: LuceneTypes.h:162
virtual int32_t doc()
Returns the current document number. This is invalid until next() is called for the first time.
virtual void seek(const TermEnumPtr &termEnum)
Not implemented.
virtual void close()
Frees associated resources.
virtual int32_t freq()
Returns the frequency of the term within the current document. This is invalid until next() is called...
clucene.sourceforge.net