21 #ifndef XAPIAN_INCLUDED_CHERT_DBSTATS_H
22 #define XAPIAN_INCLUDED_CHERT_DBSTATS_H
Types used by chert backend and the Btree manager.
Chert class for database statistics.
Xapian::termcount get_wdf_upper_bound() const
Xapian::docid last_docid
Greatest document id ever used in this database.
Xapian::termcount get_doclength_upper_bound() const
void operator=(const ChertDatabaseStats &)
Don't allow assignment.
void delete_document(Xapian::termcount doclen)
Xapian::termcount wdf_ubound
An upper bound on the greatest wdf in this database.
void read(ChertPostListTable &postlist_table)
Xapian::totallength get_total_doclen() const
Xapian::docid get_last_docid() const
void check_wdf(Xapian::termcount wdf)
void write(ChertPostListTable &postlist_table) const
Xapian::termcount get_doclength_lower_bound() const
Xapian::termcount doclen_ubound
An upper bound on the greatest document length in this database.
void add_document(Xapian::termcount doclen)
void set_last_docid(Xapian::docid did)
Xapian::docid get_next_docid()
Xapian::termcount doclen_lbound
A lower bound on the smallest document length in this database.
ChertDatabaseStats(const ChertDatabaseStats &)
Don't allow copying.
Xapian::totallength total_doclen
The total of the lengths of all documents in the database.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
XAPIAN_TOTALLENGTH_TYPE totallength
The total length of all documents in a database.