42 : count(count_), termlists(termlists_)
93 for (
size_t i = 0; i !=
count; ++i) {
146 for (
size_t i = 0; i !=
count; ++i) {
size_t count
Number of TermList* entries in termlists.
MultiAllTermsList(const MultiAllTermsList &)
Don't allow copying.
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.
std::string current_term
The current term.
virtual Xapian::doccount get_termfreq() const =0
Return the term frequency for the term at the current position.
virtual Internal * next()=0
Advance the current position to the next term in the termlist.
const std::string & get_termname() const
Return the termname at the current position.
An indexed database of documents.
Virtual base class for Database internals.
C++ STL heap implementation with extensions.
Class for merging AllTermsList objects from subdatabases.
void pop(_RandomAccessIterator first, _RandomAccessIterator last, _Compare comp)
void replace(_RandomAccessIterator first, _RandomAccessIterator last, _Compare comp)
void make(_RandomAccessIterator first, _RandomAccessIterator last, _Compare comp)
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Various assertion macros.
Comparison functor which orders TermList* by ascending term name.
bool operator()(const TermList *a, const TermList *b) const
Order by ascending term name.