21 #ifndef XAPIAN_INCLUDED_ALLTERMSLIST_H
22 #define XAPIAN_INCLUDED_ALLTERMSLIST_H
Abstract base class for iterating all terms in a database.
AllTermsList()
Only constructable as a base class for derived classes.
virtual Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
AllTermsList(const AllTermsList &)
Don't allow copying.
virtual TermList * next()=0
Advance the current position to the next term in the termlist.
virtual Xapian::termcount positionlist_count() const
Return true if the current position is past the last term in this list.
virtual Xapian::doccount get_termfreq() const =0
Return the term frequency for the term at the current position.
virtual Xapian::termcount get_approx_size() const =0
Return approximate size of this termlist.
virtual PositionList * positionlist_begin() const
Return a PositionIterator for the current position.
void operator=(const AllTermsList &)
Don't allow assignment.
virtual TermList * skip_to(std::string_view term)=0
Skip forward to the specified term.
Abstract base class for iterating term positions in a document.
Abstract base class for termlists.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Abstract base class for termlists.