21 #ifndef XAPIAN_INCLUDED_POSTINGITERATORINTERNAL_H
22 #define XAPIAN_INCLUDED_POSTINGITERATORINTERNAL_H
An indexed database of documents.
Xapian::termcount get_wdfdocmax(Xapian::docid did) const
Get the maximum wdf value in a specified document.
Xapian::termcount get_doclength(Xapian::docid did) const
Get the length of a specified document.
Xapian::termcount get_unique_terms(Xapian::docid did) const
Get the number of unique terms in a specified document.
Abstract base class for postlists.
virtual PostList * skip_to(Xapian::docid did, double w_min)=0
Skip forward to the specified docid.
virtual PostList * next(double w_min)=0
Advance the current position to the next document in the postlist.
virtual Xapian::termcount get_wdf() const
Return the wdf for the document at the current position.
virtual Xapian::docid get_docid() const =0
Return the current docid.
virtual bool at_end() const =0
Return true if the current position is past the last entry in this list.
virtual PositionList * open_position_list() const
Read the position list for the term in the current document and return a pointer to it (not owned by ...
virtual std::string get_description() const =0
Return a string description of this object.
Abstract base class for iterating term positions in a document.
Xapian::termcount get_doclength() const
std::string get_description() const
Xapian::termcount get_unique_terms() const
bool skip_to(Xapian::docid did)
Xapian::termcount get_wdfdocmax() const
PositionList * open_position_list() const
Xapian::termcount get_wdf() const
Xapian::docid get_docid() const
Internal(PostList *pl_, const Xapian::Database &db_)
Class for iterating over a list of terms.
The Xapian namespace contains public interfaces for the Xapian library.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Class for iterating over a list of document ids.
Abstract base class for postlists.