21 #ifndef XAPIAN_INCLUDED_REMOTE_ALLTERMSLIST_H
22 #define XAPIAN_INCLUDED_REMOTE_ALLTERMSLIST_H
26 #include <string_view>
Abstract base class for iterating all terms in a database.
Abstract base class for iterating all terms in a database.
Iterate all terms in a remote database.
void operator=(const RemoteAllTermsList &)=delete
Don't allow assignment.
TermList * skip_to(std::string_view term)
Skip forward to the specified term.
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
RemoteAllTermsList(const RemoteAllTermsList &)=delete
Don't allow copying.
TermList * next()
Advance the current position to the next term in the termlist.
RemoteAllTermsList(std::string_view prefix, std::string &&data_)
Construct.
Xapian::doccount current_termfreq
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
Abstract base class for termlists.
std::string current_term
The current term.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.