37 if (!valuelist) valuelist = db->open_value_list(slot);
39 while (!valuelist->at_end()) {
40 const string & v = valuelist->get_value();
41 if (v >= begin)
return NULL;
52 if (!valuelist) valuelist = db->open_value_list(slot);
53 valuelist->skip_to(did);
54 while (!valuelist->at_end()) {
55 const string & v = valuelist->get_value();
56 if (v >= begin)
return NULL;
68 if (!valuelist) valuelist = db->open_value_list(slot);
69 valid = valuelist->check(did);
73 const string & v = valuelist->get_value();
81 string desc =
"ValueGePostList(";
PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
Abstract base class for postlists.
Convert types to std::string.
#define AssertRelParanoid(A, REL, B)
void description_append(std::string &desc, const std::string &s)
Internal * next()
Advance the current position to the next document in the postlist.
Return document ids matching a >= test on a specified doc value.
string str(int value)
Convert int to std::string.
Append a string to an object description, escaping invalid UTF-8.
PostList * skip_to(Xapian::docid, double w_min)
Skip forward to the specified docid.
std::string get_description() const
Return a string description of this object.
Various assertion macros.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.