21 #ifndef XAPIAN_INCLUDED_GLASS_TERMLISTTABLE_H 22 #define XAPIAN_INCLUDED_GLASS_TERMLISTTABLE_H 54 :
GlassTable(
"termlist", dbdir +
"/termlist.", readonly, lazy_) { }
57 :
GlassTable(
"termlist", fd, offset_, readonly, lazy_) { }
77 #endif // XAPIAN_INCLUDED_GLASS_TERMLISTTABLE_H The Xapian namespace contains public interfaces for the Xapian library.
void delete_termlist(Xapian::docid did)
Delete the termlist data for document did.
Class managing a Btree table in a Glass database.
Constants in the Xapian namespace.
GlassTermListTable(int fd, off_t offset_, bool readonly, bool lazy_)
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
static std::string make_key(Xapian::docid did)
Pack types into strings and unpack them again.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
A handle representing a document in a Xapian database.
string make_key(Xapian::docid did)
GlassTermListTable(const std::string &dbdir, bool readonly, bool lazy_)
Create a new GlassTermListTable object.
void pack_uint_preserving_sort(std::string &s, U value)
Append an encoded unsigned integer to a string, preserving the sort order.