-
-
27 Feb 2022 23:58:59 UTC
- Distribution: Search-Xapian
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (19 / 0 / 0)
- Kwalitee
Bus factor: 2- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (73.2KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Search::Xapian::PositionIterator - Iterate over sets of positions.
DESCRIPTION
This iterator represents a stream of positions for a term. It overloads
++
for advancing the iterator, or you can explicitly call theinc
method. This class also overloadseq
,ne
,==
,!=
,""
(stringification) and0+
(conversion to an integer).METHODS
- new
-
Constructor. Defaults to an uninitialized iterator.
- clone
- inc
-
Advance the iterator by one. (Called implictly by
++
overloading). - skip_to <termpos>
-
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.
- equal <term>
-
Checks if a term is the same as this term. Also overloaded to the
eq
and==
operators. - nequal <term>
-
Checks if a term is different from this term. Also overloaded to the
ne
and!=
operators. - get_termpos
-
Return the term position the iterator is currently on. Also implemented as conversion to an integer.
- get_description
-
Return a description of this object. Also implemented as stringification.
SEE ALSO
Module Install Instructions
To install Search::Xapian, copy and paste the appropriate command in to your terminal.
cpanm Search::Xapian
perl -MCPAN -e shell install Search::Xapian
For more information on module installation, please visit the detailed CPAN module installation guide.