27 Feb 2022 23:58:59 UTC
- Distribution: Search-Xapian
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (19 / 0 / 0)
- KwaliteeBus factor: 2
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (73.2KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Search::Xapian::PostingIterator - Iterate over the list of documents indexed by a term.
This iterator represents a stream of documents indexed by a term. It overloads
++for advancing the iterator, or you can explicitly call the
incmethod. This class also overloads
Constructor. Defaults to an uninitialized iterator.
Advance the iterator by one. (Called implictly by
- skip_to <tname>
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 unique id of this document.
Return the wdf 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.
Get the length of the document at the current position in the postlist.
This information may be stored in the postlist, in which case this lookup should be extremely fast (indeed, not require further disk access). If the information is not present in the postlist, it will be retrieved from the database, at a greater performance cost.
- equal <term>
Checks if a term is the same as this term. Also overloaded to the
- nequal <term>
Checks if a term is different from this term. Also overloaded to the
Return a description of this object.
Module Install Instructions
To install Search::Xapian, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Search::Xapian
For more information on module installation, please visit the detailed CPAN module installation guide.