35     LOGCALL(MATCH, 
PostList *, 
"AndMaybePostList::process_next_or_skip_to", w_min | ret);
    87         LOGLINE(MATCH, 
"AND MAYBE -> AND");
   103         LOGLINE(MATCH, 
"AND MAYBE -> AND (in skip_to)");
   145     LOGCALL(MATCH, 
TermFreqs, 
"AndMaybePostList::get_termfreq_est_using_stats", stats);
   162     LOGCALL(MATCH, 
double, 
"AndMaybePostList::get_weight", NO_ARGS);
   172     LOGCALL(MATCH, 
double, 
"AndMaybePostList::get_maxweight", NO_ARGS);
   179     LOGCALL(MATCH, 
double, 
"AndMaybePostList::recalc_maxweight", NO_ARGS);
   188     LOGCALL(MATCH, 
bool, 
"AndMaybePostList::at_end", NO_ARGS);
 
double recalc_maxweight()
Recalculate the upper bound on what get_weight() can return. 
 
MultiMatch * matcher
The object which is using this postlist to perform a match. 
 
Abstract base class for postlists. 
 
Merged postlist: items from one list, weights from both. 
 
virtual Xapian::docid get_docid() const =0
Return the current docid. 
 
PostList * l
Left sub-postlist. 
 
virtual void gather_position_lists(OrPositionList *orposlist)
Gather PositionList* objects for a subtree. 
 
virtual Xapian::termcount get_unique_terms() const
Return the number of unique terms in the current document. 
 
virtual Internal * skip_to(Xapian::docid did, double w_min)=0
Skip forward to the specified docid. 
 
virtual double recalc_maxweight()=0
Recalculate the upper bound on what get_weight() can return. 
 
Xapian::doccount get_termfreq_min() const
Get a lower bound on the number of documents indexed by this term. 
 
PostList * sync_rhs(double w_min)
Synchronise the RHS to the LHS after construction. 
 
virtual Xapian::termcount get_unique_terms() const =0
Return the number of unique terms in the current document. 
 
virtual Xapian::termcount get_doclength() const
Return the document length of the document the current term comes from. 
 
bool skip_to_handling_prune(PostList *&pl, Xapian::docid did, double w_min, MultiMatch *matcher)
 
void handle_prune(PostList *&kid, PostList *ret)
Utility method, to call recalc_maxweight() and do the pruning if a next() or skip_to() returns non-NU...
 
void gather_position_lists(OrPositionList *orposlist)
Gather PositionList* objects for a subtree. 
 
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms. 
 
PostList * skip_to(Xapian::docid did, double w_min)
Skip forward to the specified docid. 
 
std::string get_description() const
Return a string description of this object. 
 
virtual TermFreqs get_termfreq_est_using_stats(const Xapian::Weight::Internal &stats) const
Get an estimate for the termfreq and reltermfreq, given the stats. 
 
virtual Xapian::doccount get_termfreq_max() const =0
Get an upper bound on the number of documents indexed by this term. 
 
virtual Xapian::doccount get_termfreq_est() const =0
Get an estimate of the number of documents indexed by this term. 
 
Xapian::termcount get_wdf() const
get_wdf() for ANDMAYBE postlists returns the sum of the wdfs of the sub postlists which are at the cu...
 
virtual Xapian::doccount get_termfreq_min() const =0
Get a lower bound on the number of documents indexed by this term. 
 
Class to hold statistics for a given collection. 
 
Internal * next()
Advance the current position to the next document in the postlist. 
 
PostList * process_next_or_skip_to(double w_min, PostList *ret)
 
bool check_handling_prune(PostList *&pl, Xapian::docid did, double w_min, MultiMatch *matcher, bool &valid)
 
double get_weight() const
Return the weight contribution for the current position. 
 
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. 
 
double get_maxweight() const
Return an upper bound on what get_weight() can return. 
 
The frequencies for a term. 
 
virtual Internal * next(double w_min)=0
Advance the current position to the next document in the postlist. 
 
virtual Xapian::termcount get_doclength() const =0
Return the length of current document. 
 
virtual std::string get_description() const =0
Return a string description of this object. 
 
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents. 
 
PostList * r
Right sub-postlist. 
 
Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position. 
 
virtual Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position. 
 
Xapian::docid get_docid() const
Return the current docid. 
 
virtual bool at_end() const =0
Return true if the current position is past the last entry in this list. 
 
Various assertion macros. 
 
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document. 
 
bool at_end() const
Return true if the current position is past the last entry in this list. 
 
virtual Xapian::termcount get_wdf() const
Return the wdf for the document at the current position. 
 
virtual double get_weight() const =0
Return the weight contribution for the current position. 
 
Xapian::doccount get_termfreq_max() const
Get an upper bound on the number of documents indexed by this term. 
 
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)