21 #ifndef XAPIAN_INCLUDED_MULTI_ALLTERMSLIST_H
22 #define XAPIAN_INCLUDED_MULTI_ALLTERMSLIST_H
Abstract base class for iterating all terms in a database.
Abstract base class for iterating all terms in a database.
Class for merging AllTermsList objects from subdatabases.
size_t count
Number of TermList* entries in termlists.
MultiAllTermsList(const MultiAllTermsList &)
Don't allow copying.
void operator=(const MultiAllTermsList &)
Don't allow assignment.
Xapian::doccount current_termfreq
Current termfreq (or 0 if not yet calculated).
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
TermList * next()
Advance the current position to the next term in the termlist.
~MultiAllTermsList()
Destructor.
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
TermList ** termlists
Sub-termlists which we use as a heap.
TermList * skip_to(std::string_view term)
Skip forward to the specified term.
Abstract base class for termlists.
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 doccount
A count of documents.