21 #ifndef XAPIAN_INCLUDED_HONEY_TERMLIST_H
22 #define XAPIAN_INCLUDED_HONEY_TERMLIST_H
Database using honey backend.
A TermList in a honey database.
TermList * skip_to(std::string_view term)
Skip forward to the specified term.
PositionList * positionlist_begin() const
Return a PositionIterator for the current position.
const char * pos
Current position with the encoded tag value held in data.
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
const char * end
Pointer to the end of the encoded tag value.
Xapian::doccount current_termfreq
The term frequency for the term at the current position.
Xapian::termcount positionlist_count() const
Return the length of the position list for the current position.
Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
HoneyTermList(const HoneyTermList &)
Don't allow copying.
Xapian::termcount get_unique_terms() const
Return the number of unique terms.
Xapian::termcount doclen
The length of document did.
std::string data
The tag value from the termlist table which holds the encoded termlist.
Xapian::termcount get_doclength() const
Return the length of this document.
Xapian::termcount termlist_size
The number of entries in this termlist.
Xapian::termcount current_wdf
The wdf for the term at the current position.
Xapian::Internal::intrusive_ptr< const HoneyDatabase > db
The database we're reading data from.
Xapian::docid did
The document id that this TermList is for.
TermList * next()
Advance the current position to the next term in the termlist.
void accumulate_stats(Xapian::Internal::ExpandStats &stats) const
Collate weighting information for the current term.
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
void operator=(const HoneyTermList &)
Don't allow assignment.
Xapian::termcount size() const
Return the number of entries in this termlist.
Collates statistics while calculating term weight in an ESet.
Abstract base class for iterating term positions in a document.
Abstract base class for termlists.
Database using honey backend.
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.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Class for iterating over term positions.
Abstract base class for termlists.