Lucene++ - a full-featured, c++ search engine
API Documentation
virtual bool next()
Move to the next match, returning true if any such exists.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Term > TermPtr
Definition: LuceneTypes.h:233
int32_t position
Definition: TermSpans.h:28
An enumeration of span matches. Used to implement span searching. Each span represents a range of ter...
Definition: Spans.h:17
TermSpans(const TermPositionsPtr &positions, const TermPtr &term)
virtual String toString()
Returns a string representation of the object.
TermPositionsPtr getPositions()
Definition: AbstractAllTermDocs.h:12
int32_t count
Definition: TermSpans.h:27
TermPtr term
Definition: TermSpans.h:24
int32_t freq
Definition: TermSpans.h:26
virtual int32_t end()
Returns the end position of the current match. Initially invalid.
int32_t _doc
Definition: TermSpans.h:25
boost::shared_ptr< TermPositions > TermPositionsPtr
Definition: LuceneTypes.h:243
virtual int32_t doc()
Returns the document number of the current match. Initially invalid.
virtual int32_t start()
Returns the start position of the current match. Initially invalid.
TermPositionsPtr positions
Definition: TermSpans.h:20
virtual Collection< ByteArray > getPayload()
Returns the payload data for the current span. This is invalid until next() is called for the first t...
virtual bool isPayloadAvailable()
Checks if a payload can be loaded at this position.
Public for extension only.
Definition: TermSpans.h:15
virtual bool skipTo(int32_t target)
Skips to the first match beyond the current, whose document number is greater than or equal to target...
clucene.sourceforge.net