34 : tl(tl_), db(db_), db_index(db_index_)
virtual Xapian::termcount get_wdf() const =0
Return the wdf for the term at the current position.
Xapian::PositionIterator positionlist_begin() const
Return a PositionIterator for the current position.
virtual Internal * next()=0
Advance the current position to the next term in the termlist.
const Xapian::Database & db
This class is used to access a database, or a group of databases.
TermList * skip_to(const std::string &term)
Skip forward to the specified term.
bool at_end() const
Return true if the current position is past the last term in this list.
virtual Internal * skip_to(const std::string &term)=0
Skip forward to the specified term.
virtual void accumulate_stats(Xapian::Internal::ExpandStats &stats) const
Collate weighting information for the current term.
Abstract base class for termlists.
Xapian::termcount get_wdf() const
Return the wdf for the term at the current position.
void accumulate_stats(Xapian::Internal::ExpandStats &stats) const
Collate weighting information for the current term.
MultiTermList(TermList *tl_, const Xapian::Database &db_, size_t db_index_)
virtual Xapian::termcount get_approx_size() const =0
Return approximate size of this termlist.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
TermList * next()
Advance the current position to the next term in the termlist.
Collate statistics and calculate the term weights for the ESet.
virtual bool at_end() const =0
Return true if the current position is past the last term in this list.
virtual Xapian::PositionIterator positionlist_begin() const =0
Return a PositionIterator for the current position.
string get_termname() const
Return the termname at the current position.
Xapian::termcount positionlist_count() const
Return the length of the position list for the current position.
Class for iterating over term positions.
virtual std::string get_termname() const =0
Return the termname at the current position.
C++ class declaration for multiple database access.
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
Collates statistics while calculating term weight in an ESet.
Xapian::termcount get_approx_size() const
Return approximate size of this termlist.
Xapian::doccount get_termfreq() const
Return the term frequency for the term at the current position.
virtual Xapian::termcount positionlist_count() const =0
Return the length of the position list for the current position.
Xapian::doccount get_termfreq(const std::string &tname) const
Get the number of documents in the database indexed by a given term.