23 #ifndef OM_HGUARD_MULTI_TERMLIST_H 24 #define OM_HGUARD_MULTI_TERMLIST_H
Xapian::PositionIterator positionlist_begin() const
Return a PositionIterator for the current position.
const Xapian::Database & db
This class is used to access a database, or a group of databases.
TermList * skip_to(const std::string &term)
Skip forward to the specified term.
bool at_end() const
Return true if the current position is past the last term in this list.
Abstract base class for termlists.
Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
void accumulate_stats(Xapian::Internal::ExpandStats &stats) const
Collate weighting information for the current term.
MultiTermList(TermList *tl_, const Xapian::Database &db_, size_t db_index_)
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
TermList * next()
Advance the current position to the next term in the termlist.
string get_termname() const
Return the termname at the current position.
Xapian::termcount positionlist_count() const
Return the length of the position list for the current position.
Class for iterating over term positions.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Collates statistics while calculating term weight in an ESet.
Abstract base class for termlists.
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.