Abstract base class for leaf postlists.
Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position.
void gather_position_lists(OrPositionList *orposlist)
Gather PositionList* objects for a subtree.
double get_weight(Xapian::termcount doclen, Xapian::termcount unique_terms, Xapian::termcount wdfdocmax) const
Return the weight contribution for the current position.
virtual bool open_nearby_postlist(std::string_view term_, bool need_read_pos, LeafPostList *&pl) const
Open another postlist from the same database.
double recalc_maxweight()
Recalculate the upper bound on what get_weight() can return.
Abstract base class for leaf postlists.