TermFreqs get_termfreq_est_using_stats(const Xapian::Weight::Internal &stats) const
Get an estimate for the termfreq and reltermfreq, given the stats.
Abstract base class for postlists.
Xapian::termcount get_wdf() const
Return the wdf for the document at the current position.
std::vector< PostList * > terms
Parent class for classes which only return selected docs.
Postlist which matches terms occurring within a specified window.
bool test_doc()
Test if the current document contains the terms within the window.
NearPostList(PostList *source_, Xapian::termpos window_, const std::vector< PostList *>::const_iterator &terms_begin, const std::vector< PostList *>::const_iterator &terms_end)
Xapian::doccount get_termfreq_est() const
Get an estimate of the number of documents indexed by this term.
A postlist parent class for classes which only return selected docs from a source postlist (e...
std::string get_description() const
Return a string description of this object.