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_) { }
Class managing a Btree table in a Glass database.
bool del(const std::string &key)
Delete an entry from the table.
void set_termlist(Xapian::docid did, const Xapian::Document &doc, Xapian::termcount doclen)
Set the termlist data for document did.
static std::string make_key(Xapian::docid did)
void delete_termlist(Xapian::docid did)
Delete the termlist data for document did.
GlassTermListTable(const std::string &dbdir, bool readonly, bool lazy_)
Create a new GlassTermListTable object.
GlassTermListTable(int fd, off_t offset_, bool readonly, bool lazy_)
A handle representing a document in a Xapian database.
Constants in the Xapian namespace.
The Xapian namespace contains public interfaces for the Xapian library.
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Pack types into strings and unpack them again.
void pack_uint_preserving_sort(std::string &s, U value)
Append an encoded unsigned integer to a string, preserving the sort order.