21 #ifndef XAPIAN_INCLUDED_REMOTE_TERMLIST_H
22 #define XAPIAN_INCLUDED_REMOTE_TERMLIST_H
RemoteDatabase is the baseclass for remote database implementations.
Iterate terms in a remote document.
Xapian::termcount num_entries
RemoteTermList(const RemoteTermList &)=delete
Don't allow copying.
Xapian::termcount positionlist_count() const
Return the length of the position list for the current position.
Xapian::termcount current_wdf
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
void operator=(const RemoteTermList &)=delete
Don't allow assignment.
RemoteTermList(Xapian::termcount num_entries_, Xapian::termcount doclen_, Xapian::doccount db_size_, const RemoteDatabase *db_, Xapian::docid did_, std::string &&data_)
Construct.
void accumulate_stats(Xapian::Internal::ExpandStats &stats) const
Collate weighting information for the current term.
Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
TermList * next()
Advance the current position to the next term in the termlist.
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.
Xapian::Internal::intrusive_ptr< const RemoteDatabase > db
PositionList * positionlist_begin() const
Return PositionList for the current position.
Xapian::doccount current_termfreq
Collates statistics while calculating term weight in an ESet.
Abstract base class for iterating term positions in a document.
Abstract base class for termlists.
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.
Abstract base class for termlists.