Xapian::Document(3)
π NAME π
Search::Xapian::Document β Document object.
Okay bestie, welcome to the Xapian::Document(3) page from the User Contributed Perl Documentation. This is the manual page for Search::Xapian::Document, and weβre about to get into it. β¨
π DESCRIPTION π
This class represents a document in a Xapian database. Thatβs the whole main-character vibe of this class. π
β¨ METHODS β¨
newβ Class constructor. Obviously the constructor, bestie.cloneβ Return a clone of this class.get_value (value_no)β Returns the value by the assigned number.add_value <value_no> <value>β Set a value by value number.remove_value <value_no>β Removes the value with the assigned number.clear_valuesβ Clear all set values.get_dataβ Return all document data.set_data <data>β Set all document data. This can be anything you like.add_posting <term> <position> [<wdfinc>]β Adds a term at the given position.wdfincdefaults to1.remove_posting <term> <position> [<wdfdec>]β Removes a term from the given position.wdfdecdefaults to1.add_term <term> [<wdfinc>]β Adds a term without positional information.wdfincdefaults to1.add_boolean_term <term>β Adds a term intended for boolean filtering (its wdf contribution will be0).remove_term <term>β Removes a term and all postings associated with it.clear_termsβ Remove all terms from the document.termlist_countβ Returns number of different terms in the document.termlist_beginβ Iterator for the terms in this document. Returns aSearch::Xapian::TermIterator.termlist_endβ Equivalent end iterator fortermlist_begin(). Returns aSearch::Xapian::TermIterator.values_countβ Return number of defined values for this document.values_beginβ Return aSearch::Xapian::ValueIteratorpointing at the start of the values in this document.values_endβ Return aSearch::Xapian::ValueIteratorpointing at the end of the values in this document.get_descriptionβ Return a description of this object.
π SEE ALSO π
Search::Xapian::Databaseβ the cross-reference listed on this page.
Mwah, thatβs the page, bestie. π«Ά This lilβ manual is from perl v5.42.0, dated 2022-02-28 β iconic, honestly. π
π¦ 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