22 #ifndef XAPIAN_INCLUDED_EXTERNALPOSTLIST_H
23 #define XAPIAN_INCLUDED_EXTERNALPOSTLIST_H
60 bool* max_weight_cached_flag_ptr,
Class for estimating the total number of matching documents.
void operator=(const ExternalPostList &)
Disallow assignment.
Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position.
PostList * update_after_advance()
ExternalPostList(const ExternalPostList &)
Disallow copying.
PositionList * read_position_list()
Read the position list for the term in the current document and return a pointer to it (owned by the ...
double get_weight(Xapian::termcount doclen, Xapian::termcount unique_terms, Xapian::termcount wdfdocmax) const
Return the weight contribution for the current position.
PostList * check(Xapian::docid did, double w_min, bool &valid)
Check if the specified docid occurs in this postlist.
double recalc_maxweight()
Recalculate the upper bound on what get_weight() can return.
Xapian::Internal::opt_intrusive_ptr< Xapian::PostingSource > source
PostList * skip_to(Xapian::docid, double w_min)
Skip forward to the specified docid.
Xapian::docid get_docid() const
Return the current docid.
bool at_end() const
Return true if the current position is past the last entry in this list.
std::string get_description() const
Return a string description of this object.
An indexed database of documents.
Abstract base class for postlists.
PostList * next()
Advance the current position to the next document in the postlist.
Abstract base class for iterating term positions in a document.
Base class which provides an "external" source of postings.
The Xapian namespace contains public interfaces for the Xapian library.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Abstract base class for postlists.