22 #ifndef XAPIAN_INCLUDED_HONEY_SPELLINGWORDSLIST_H
23 #define XAPIAN_INCLUDED_HONEY_SPELLINGWORDSLIST_H
Abstract base class for iterating all terms in a database.
Abstract base class for iterating all terms in a database.
Database using honey backend.
Xapian::doccount get_termfreq() const
Returns the term frequency of the current term.
void operator=(const HoneySpellingWordsList &)
Assignment is not allowed.
Xapian::Internal::intrusive_ptr< const HoneyDatabase > database
Keep a reference to our database to stop it being deleted.
HoneyCursor * cursor
A cursor which runs through the spelling table reading termnames from the keys.
HoneySpellingWordsList(const HoneySpellingWordsList &)
Copying is not allowed.
Xapian::termcount termfreq
The term frequency of the term at the current position.
~HoneySpellingWordsList()
Destructor.
TermList * next()
Advance to the next term in the list.
TermList * skip_to(std::string_view term)
Advance to the first term which is >= term.
void read_termfreq() const
Read and cache the term frequency.
HoneySpellingWordsList(const HoneyDatabase *database_, HoneyCursor *cursor_)
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
Abstract base class for termlists.
Spelling correction data for a honey database.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.