xapian-core
1.4.26
|
Classes | |
struct | CursorGt |
struct | MergeCursor |
class | PositionCursor |
class | PositionCursorGt |
class | PostlistCursor |
class | PostlistCursorGt |
Functions | |
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, GlassTable *out, vector< Xapian::docid >::const_iterator offset, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e) |
static void | merge_spellings (GlassTable *out, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e) |
static void | merge_synonyms (GlassTable *out, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e) |
static void | multimerge_postlists (Xapian::Compactor *compactor, GlassTable *out, const char *tmpdir, vector< GlassTable *> tmp, vector< Xapian::docid > off) |
static void | merge_positions (GlassTable *out, const vector< GlassTable *> &inputs, const vector< Xapian::docid > &offset) |
static void | merge_docid_keyed (GlassTable *out, const vector< GlassTable *> &inputs, const vector< Xapian::docid > &offset) |
|
static |
Definition at line 174 of file glass_compact.cc.
References pack_string(), and pack_uint().
Referenced by merge_postlists().
|
inlinestatic |
Definition at line 74 of file glass_compact.cc.
Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 56 of file glass_compact.cc.
Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 68 of file glass_compact.cc.
Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().
|
inlinestatic |
Definition at line 62 of file glass_compact.cc.
Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().
|
static |
Definition at line 731 of file glass_compact.cc.
References GlassTable::add(), GlassCursor::current_key, GlassCursor::current_tag, GlassTable::empty(), GlassCursor::find_entry(), GlassCursor::next(), pack_uint_preserving_sort(), GlassCursor::read_tag(), and unpack_uint_preserving_sort().
Referenced by GlassDatabase::compact().
|
static |
Definition at line 704 of file glass_compact.cc.
References GlassTable::add(), GlassTable::empty(), GlassCompact::PositionCursor::get_tag(), GlassCompact::PositionCursor::key, and GlassCompact::PositionCursor::next().
Referenced by GlassDatabase::compact().
|
static |
Definition at line 188 of file glass_compact.cc.
References GlassTable::add(), Assert, GlassCompact::PostlistCursor::cf, GlassTable::empty(), encode_valuestats(), GlassCompact::PostlistCursor::firstdid, is_doclenchunk_key(), is_user_metadata_key(), is_valuechunk_key(), is_valuestats_key(), GlassCompact::PostlistCursor::key, GlassCompact::PostlistCursor::next(), pack_glass_postlist_key(), pack_uint(), Xapian::Compactor::resolve_duplicate_metadata(), GlassCompact::PostlistCursor::tag, tags, GlassCompact::PostlistCursor::tf, unpack_string(), unpack_string_preserving_sort(), and unpack_uint().
Referenced by GlassDatabase::compact(), and multimerge_postlists().
|
static |
Definition at line 406 of file glass_compact.cc.
References GlassTable::add(), PrefixCompressedStringWriter::append(), PrefixCompressedStringItor::at_end(), GlassCursor::current_key, GlassCursor::current_tag, GlassTable::empty(), GlassCursor::next(), pack_uint_last(), GlassCursor::read_tag(), and unpack_uint_last().
Referenced by GlassDatabase::compact().
|
static |
Definition at line 515 of file glass_compact.cc.
References GlassTable::add(), ByteLengthPrefixedStringItor::at_end(), GlassCursor::current_key, GlassCursor::current_tag, GlassTable::empty(), MAGIC_XOR_VALUE, GlassCursor::next(), and GlassCursor::read_tag().
Referenced by GlassDatabase::compact().
|
static |
Definition at line 596 of file glass_compact.cc.
References AssertRel, GlassTable::commit(), GlassTable::create_and_open(), Xapian::DB_DANGEROUS, Xapian::DB_NO_SYNC, GlassTable::flush_db(), Glass::RootInfo::get_blocksize(), Glass::RootInfo::init(), merge_postlists(), and Xapian::Internal::str().
Referenced by GlassDatabase::compact().