21 #ifndef XAPIAN_INCLUDED_HONEY_TERMLISTTABLE_H
22 #define XAPIAN_INCLUDED_HONEY_TERMLISTTABLE_H
54 :
HoneyTable(
"termlist", dbdir +
"/termlist.", readonly, lazy_) { }
57 :
HoneyTable(
"termlist", fd, offset_, readonly, lazy_) { }
bool del(const std::string &)
HoneyTermListTable(int fd, off_t offset_, bool readonly, bool lazy_)
static std::string make_key(Xapian::docid did)
void set_termlist(Xapian::docid did, const Xapian::Document &doc, Xapian::termcount doclen)
Set the termlist data for document did.
HoneyTermListTable(const std::string &dbdir, bool readonly, bool lazy_)
Create a new HoneyTermListTable object.
void delete_termlist(Xapian::docid did)
Delete the termlist data for document did.
Class representing a document.
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.