Abstract base class for postlists.
bool test_doc()
Test if the current document contains the terms as a phrase.
Postlist which matches a phrase using positional information.
Parent class for classes which only return selected docs.
Xapian::doccount get_termfreq_est() const
Get an estimate of the number of documents indexed by this term.
std::vector< PostList * > terms
PhrasePostList(PostList *source_, Xapian::termpos window_, const std::vector< PostList *>::const_iterator &terms_begin, const std::vector< PostList *>::const_iterator &terms_end)
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.
A postlist parent class for classes which only return selected docs from a source postlist (e...
TermFreqs get_termfreq_est_using_stats(const Xapian::Weight::Internal &stats) const
Get an estimate for the termfreq and reltermfreq, given the stats.
void start_position_list(unsigned i)
Start reading from the i-th position list.