24 #ifndef OM_HGUARD_EXTRAWEIGHTPOSTLIST_H    25 #define OM_HGUARD_EXTRAWEIGHTPOSTLIST_H   112             : pl(pl_), wt(wt_), matcher(matcher_),
   113               max_weight(wt->get_maxextra())
 The Xapian namespace contains public interfaces for the Xapian library. 
 
Abstract base class for postlists. 
 
class for performing a match 
 
virtual Xapian::docid get_docid() const =0
Return the current docid. 
 
#define AssertRel(A, REL, B)
 
virtual double get_sumextra(Xapian::termcount doclen, Xapian::termcount uniqterms) const =0
Calculate the term-independent weight component for a 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. 
 
virtual Xapian::termcount get_unique_terms() const =0
Return the number of unique terms in the current document. 
 
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms. 
 
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. 
 
virtual Xapian::doccount get_termfreq_min() const =0
Get a lower bound on the number of documents indexed by this term. 
 
void recalc_maxweight()
Called by postlists to indicate that they've rearranged themselves and the maxweight now possible is ...
 
virtual double get_maxweight() const =0
Return an upper bound on what get_weight() can return. 
 
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. 
 
virtual Xapian::termcount count_matching_subqs() const
Count the number of leaf subqueries which match at the current position. 
 
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. 
 
virtual double get_weight() const =0
Return the weight contribution for the current position. 
 
Abstract base class for weighting schemes.