xapian-core
1.4.26
|
Classes | |
struct | CursorGt |
struct | MergeCursor |
class | PostlistCursor |
class | PostlistCursorGt |
Functions | |
static bool | is_metainfo_key (const string &key) |
static bool | is_user_metadata_key (const string &key) |
static bool | is_valuestats_key (const string &key) |
static bool | is_valuechunk_key (const string &key) |
static bool | is_doclenchunk_key (const string &key) |
static string | encode_valuestats (Xapian::doccount freq, const string &lbound, const string &ubound) |
static void | merge_postlists (Xapian::Compactor *compactor, ChertTable *out, vector< Xapian::docid >::const_iterator offset, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e, Xapian::docid last_docid) |
static void | merge_spellings (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e) |
static void | merge_synonyms (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e) |
static void | multimerge_postlists (Xapian::Compactor *compactor, ChertTable *out, const char *tmpdir, vector< ChertTable *> tmp, vector< Xapian::docid > off, Xapian::docid last_docid) |
static void | merge_docid_keyed (ChertTable *out, const vector< ChertTable *> &inputs, const vector< Xapian::docid > &offset) |
|
static |
Definition at line 180 of file chert_compact.cc.
References pack_string(), and pack_uint().
Referenced by merge_postlists().
|
inlinestatic |
Definition at line 79 of file chert_compact.cc.
Referenced by merge_postlists(), and ChertCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 55 of file chert_compact.cc.
Referenced by merge_postlists(), and ChertCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 61 of file chert_compact.cc.
Referenced by merge_postlists(), and ChertCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 73 of file chert_compact.cc.
Referenced by merge_postlists(), and ChertCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 67 of file chert_compact.cc.
Referenced by merge_postlists(), and ChertCompact::PostlistCursor::next().
|
static |
Definition at line 731 of file chert_compact.cc.
References ChertTable::add(), C_pack_uint_preserving_sort(), C_unpack_uint_preserving_sort(), ChertCursor::current_key, ChertCursor::current_tag, ChertTable::empty(), ChertCursor::find_entry(), ChertCursor::next(), and ChertCursor::read_tag().
Referenced by ChertDatabase::compact().
|
static |
Definition at line 194 of file chert_compact.cc.
References ChertTable::add(), Assert, ChertCompact::PostlistCursor::cf, ChertTable::empty(), encode_valuestats(), ChertCompact::PostlistCursor::firstdid, is_doclenchunk_key(), is_metainfo_key(), is_user_metadata_key(), is_valuechunk_key(), is_valuestats_key(), ChertCompact::PostlistCursor::key, ChertCompact::PostlistCursor::next(), pack_chert_postlist_key(), pack_uint(), pack_uint_last(), Xapian::Compactor::resolve_duplicate_metadata(), ChertCompact::PostlistCursor::tag, tags, ChertCompact::PostlistCursor::tf, unpack_string(), unpack_string_preserving_sort(), unpack_uint(), and unpack_uint_last().
Referenced by ChertDatabase::compact(), and multimerge_postlists().
|
static |
Definition at line 478 of file chert_compact.cc.
References ChertTable::add(), PrefixCompressedStringWriter::append(), PrefixCompressedStringItor::at_end(), ChertCursor::current_key, ChertCursor::current_tag, ChertTable::empty(), ChertCursor::next(), pack_uint_last(), ChertCursor::read_tag(), and unpack_uint_last().
Referenced by ChertDatabase::compact().
|
static |
Definition at line 587 of file chert_compact.cc.
References ChertTable::add(), ByteLengthPrefixedStringItor::at_end(), ChertCursor::current_key, ChertCursor::current_tag, ChertTable::empty(), MAGIC_XOR_VALUE, ChertCursor::next(), and ChertCursor::read_tag().
Referenced by ChertDatabase::compact().
|
static |
Definition at line 668 of file chert_compact.cc.
References ChertTable::commit(), ChertTable::create_and_open(), ChertTable::flush_db(), merge_postlists(), and Xapian::Internal::str().
Referenced by ChertDatabase::compact().