21 #ifndef XAPIAN_INCLUDED_ORPOSTLIST_H
22 #define XAPIAN_INCLUDED_ORPOSTLIST_H
59 bool* valid_ptr = NULL);
65 bool* valid_ptr = NULL);
PostList class implementing Query::OP_OR.
PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
Xapian::termcount get_wdf() const
Return the wdf for the document at the current position.
double recalc_maxweight()
Recalculate the upper bound on what get_weight() can return.
OrPostList(const OrPostList &)=delete
Don't allow copying.
Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position.
PostList * skip_to(Xapian::docid did, double w_min)
Skip forward to the specified docid.
PostList * decay_to_andmaybe(PostList *left, PostList *right, Xapian::docid did, double w_min, bool *valid_ptr=NULL)
PostList * decay_to_and(Xapian::docid did, double w_min, bool *valid_ptr=NULL)
void get_docid_range(Xapian::docid &first, Xapian::docid &last) const
Get the bounds on the range of docids this PostList can return.
Xapian::docid get_docid() const
Return the current docid.
void operator=(const OrPostList &)=delete
Don't allow assignment.
std::string get_description() const
Return a string description of this object.
double get_weight(Xapian::termcount doclen, Xapian::termcount unique_terms, Xapian::termcount wdfdocmax) const
Return the weight contribution for the current position.
void gather_position_lists(OrPositionList *orposlist)
Gather PositionList* objects for a subtree.
bool at_end() const
Return true if the current position is past the last entry in this list.
Abstract base class for postlists.
PostList * next()
Advance the current position to the next document in the postlist.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Abstract base class for postlists.