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.
Postlist which matches an exact phrase using positional information.
void start_position_list(unsigned i)
Start reading from the i-th position list.
std::string get_description() const
Return a string description of this object.
Xapian::termcount get_wdf() const
Return the wdf for the document at the current position.
Xapian::doccount get_termfreq_est() const
Get an estimate of the number of documents indexed by this term.
Parent class for classes which only return selected docs.
ExactPhrasePostList(PostList *source_, const std::vector< PostList *>::const_iterator &terms_begin, const std::vector< PostList *>::const_iterator &terms_end)
bool test_doc()
Test if the current document contains the terms as an exact phrase.
A postlist parent class for classes which only return selected docs from a source postlist (e...
std::vector< PostList * > terms