Search::Xapian::PositionIterator - Iterate over sets of positions.
This iterator represents a stream of positions for a term. It overloads ++ for advancing the iterator, or you can explicitly call the inc method. This class also overloads eq, ne, ==, !=, "" (stringification) and 0+ (conversion to an integer).
++
inc
eq
ne
==
!=
""
0+
Constructor. Defaults to an uninitialized iterator.
Advance the iterator by one. (Called implictly by ++ overloading).
Skip the iterator to term position termpos, or the first term position after termpos if termpos isn't in the list of term positions being iterated.
Checks if a term is the same as this term. Also overloaded to the eq and == operators.
Checks if a term is different from this term. Also overloaded to the ne and != operators.
Return the term position the iterator is currently on. Also implemented as conversion to an integer.
Return a description of this object. Also implemented as stringification.
Search::Xapian, Search::Xapian::Document
To install Search::Xapian, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Xapian
CPAN shell
perl -MCPAN -e shell install Search::Xapian
For more information on module installation, please visit the detailed CPAN module installation guide.