Abstract base class for postlists.
virtual Internal * skip_to(Xapian::docid did, double w_min)=0
Skip forward to the specified docid.
Xapian::docid get_docid() const
Return the current docid.
Parent class for classes which only return selected docs.
virtual Internal * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
virtual bool test_doc()=0
Subclasses should override test_doc() with a method which returns true if a document meets the approp...
Internal * next()
Advance the current position to the next document in the postlist.
PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
PostList * skip_to(Xapian::docid did, double w_min)
Skip forward to the specified docid.
virtual Internal * next(double w_min)=0
Advance the current position to the next document in the postlist.
bool check_weight(double w_min)
virtual bool at_end() const =0
Return true if the current position is past the last entry in this list.