46 result = r->
check(l_did, 0, r_valid);
69 if (did > pl->get_docid()) {
83 result = r->
check(l_did, 0, r_valid);
122 result = r->
check(l_did, 0, r_valid);
136 if (l_did == r_did) {
147 string desc =
"AndNotPostList(";
148 desc += pl->get_description();
150 desc += r->get_description();
PostList class implementing Query::OP_AND_NOT.
PostList * skip_to(Xapian::docid did, double w_min)
Skip forward to the specified docid.
std::string get_description() const
Return a string description of this object.
PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
Abstract base class for postlists.
virtual PostList * skip_to(Xapian::docid did, double w_min)=0
Skip forward to the specified docid.
virtual PostList * next(double w_min)=0
Advance the current position to the next document in the postlist.
virtual Xapian::docid get_docid() const =0
Return the current docid.
PostList * next()
Advance the current position to the next document in the postlist.
virtual PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.