47 return db->open_position_list(lastdocid,
term);
55 pos = postings.data();
56 pos_end =
pos + postings.size();
79 while (
pos && lastdocid < did)
87 return (
pos == NULL && started);
103 string desc =
"NetworkPostList(";
PostList * skip_to(Xapian::docid did, double weight)
Skip forward to the next document with document ID >= the supplied document ID (the weight parameter ...
std::string get_description() const
Get a description of the postlist.
Xapian::docid get_docid() const
Get the current document ID.
bool at_end() const
Return true if and only if we've moved off the end of the list.
PositionList * open_position_list() const
Read the position list for the term in the current document and return a pointer to it (not owned by ...
Xapian::termcount get_wdf_upper_bound() const
Xapian::termcount get_wdf() const
Get the Within Document Frequency of the term in the current document.
Abstract base class for postlists.
PostList * next()
Advance the current position to the next document in the postlist.
Abstract base class for iterating term positions in a document.
Append a string to an object description, escaping invalid UTF-8.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Postlists for remote databases.
Various assertion macros.
void unpack_throw_serialisation_error(const char *p)
Throw appropriate SerialisationError.
Pack types into strings and unpack them again.
bool unpack_uint(const char **p, const char *end, U *result)
Decode an unsigned integer from a string.
void description_append(std::string &desc, std::string_view s)