
Search::Xapian::Document - Search database object

This class represents a Xapian database for searching. See Xapian::WriteableDatabase for an object suitable for indexing. To perform searches, this class works with the Search::Xapian::Query object.

Class constructor. Can either take a path to an existing datbase or another database class as the first parameter
Return a clone of this class.
Returns the value by the assigned number.
Set a value by value number.
Removes the value with the assigned number.
Clear all set values.
Return all document data.
Set all document data. This can be anything you like.
Adds a term at the given position. weight defaults to 1.
Removes a term from the given position. weight defaults to 1.
Adds a term without positional information. weight defaults to 1.
Removes a term without positional information.
Remove all terms from the document.
Returns number of terms in the document.
Iterator for the terms in this document. Returns a Search::Xapian::TermIterator.
Equivalent end iterator for termlist_begin(). Returns a Search::Xapian::TermIterator.
Return number of defined values for this document.
Return a Xapian::Search::ValueIterator pointing at the start of the values in this document.
Return a Xapian::Search::ValueIterator pointing at the end of the values in this document.
Document description (for introspection)
