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