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),
64 lastdocid(0), lastwdf(0), termfreq(0)
102 string get_description()
const;
Abstract base class for postlists.
Xapian::termcount get_doclength(Xapian::docid did) const
Get the length of a given document.
double weight
The weight of a document or term.
Xapian::Internal::intrusive_ptr< const RemoteDatabase > db
NetworkPostList(Xapian::Internal::intrusive_ptr< const RemoteDatabase > db_, const string &term_)
Constructor.
RemoteDatabase is the baseclass for remote database implementations.
Xapian::termcount get_wdf_upper_bound(const string &term) const
Get an upper bound on the wdf of term term.
Abstract base class for leaf postlists.
Abstract base class for leaf postlists.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
RemoteDatabase is the baseclass for remote database implementations.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Xapian::termcount get_unique_terms(Xapian::docid did) const
Get the number of unique term in document.
PositionList * open_position_list(Xapian::docid did, const string &tname) const
Open a position list for the given term in the given document.
Xapian::doccount read_post_list(const string &term, NetworkPostList &pl) const
Various assertion macros.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Abstract base class for iterating term positions in a document.
Xapian::termcount lastwdf
A postlist in a remote database.
void append_posting(const string &serialised)
Append a posting to the end of the postlist.
Xapian::doccount termfreq