23 #ifndef XAPIAN_INCLUDED_NET_POSTLIST_H
24 #define XAPIAN_INCLUDED_NET_POSTLIST_H
55 postings.append(serialised);
63 db(db_), started(
false), pos(NULL), pos_end(NULL),
102 string get_description()
const;
Abstract base class for leaf postlists.
A postlist in a remote database.
Xapian::Internal::intrusive_ptr< const RemoteDatabase > db
Xapian::termcount lastwdf
void append_posting(const string &serialised)
Append a posting to the end of the postlist.
NetworkPostList(Xapian::Internal::intrusive_ptr< const RemoteDatabase > db_, const string &term_)
Constructor.
Xapian::doccount termfreq
RemoteDatabase is the baseclass for remote database implementations.
Xapian::termcount get_unique_terms(Xapian::docid did) const
Get the number of unique term in document.
Xapian::termcount get_doclength(Xapian::docid did) const
Get the length of a given document.
Xapian::doccount read_post_list(const string &term, NetworkPostList &pl) const
Xapian::docid lastdocid
The remote last docid, given at open.
Xapian::termcount get_wdf_upper_bound(const string &term) const
Get an upper bound on the wdf of term term.
PositionList * open_position_list(Xapian::docid did, const string &tname) const
Open a position list for the given term in the given document.
Abstract base class for iterating term positions in a document.
Abstract base class for postlists.
Abstract base class for leaf postlists.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
double weight
The weight of a document or term.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Various assertion macros.
RemoteDatabase is the baseclass for remote database implementations.