Scroll to navigation

Xapian::TermIterator(3) User Contributed Perl Documentation Xapian::TermIterator(3)

NAME

Search::Xapian::TermIterator - Iterate over sets of terms.

DESCRIPTION

This object represents a stream of terms. It overloads "++" for advancing the iterator, or you can explicitly call the "inc" method. This class also overloads "eq", "ne", "==", "!=", and "" (stringification).

METHODS

Constructor. Defaults to a uninitialized iterator.
Advance the iterator by one. (Called implictly by "++" overloading)
Skip the iterator to term tname, or the first term after tname if tname isn't in the list of terms being iterated.
Get the name of the current term.
Return the wdf of the current term (if meaningful).
Return the term frequency of the current term (if meaningful).
Return Search::Xapian::PositionIterator pointing to start of positionlist for current term.
Return Search::Xapian::PositionIterator pointing to end of positionlist for current term.
Returns a string describing this object.
Checks if a termiterator is the same as this termiterator. Also overloaded as the "eq" and "==" operators.
Checks if a termiterator is different from this termiterator. Also overloaded as the "ne" and "!=" operators.

SEE ALSO

Search::Xapian, Search::Xapian::Document

2022-02-28 perl v5.40.0