Xapian:...Iterator(3)
okay so this is the User Contributed Perl Documentation page for Xapian:...Iterator(3), and the main-character class is Search::Xapian::PostingIterator. π
πΈ NAME πΈ
Search::Xapian::PostingIterator β Iterate over the list of documents indexed by a term. π
β¨ DESCRIPTION β¨
This iterator represents a stream of documents indexed by a term. It overloads ++ for advancing the iterator, or you can explicitly call the inc method. This class also overloads eq, ne, ==, !=, and "" (stringification). No cap, it's giving iterator with range. π¦
π METHODS π
newβ Constructor. Defaults to an uninitialized iterator. β¨cloneβ clone is listed as a method here; the page doesn't add any extra sentence, so no invented lore from me, bestie. π«Άincβ Advance the iterator by one. (Called implictly by++overloading.) π₯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_docidβ Get the unique id of this document. πget_wdfβ Return the wdf of the current term (if meaningful). πΈpositionlist_beginβ ReturnSearch::Xapian::PositionIteratorpointing to start of positionlist for current term. π¦positionlist_endβ ReturnSearch::Xapian::PositionIteratorpointing to end of positionlist for current term. π¦get_doclengthβ 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 theeqand==operators. πnequal <term>β Checks if a term is different from this term. Also overloaded to theneand!=operators. πget_descriptionβ Return a description of this object. π
π SEE ALSO π
Search::XapianSearch::Xapian::Database
okay bye bestie π β this page is from perl v5.42.0, dated 2022-02-28, and it lives under Xapian:...Iterator(3). Mwah! π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Search-Xapian 1.2.25.5-bp160.1.7 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms