Classes | |
| class | PostlistCursor |
| class | PostlistCursorGt |
| struct | MergeCursor |
| struct | CursorGt |
Functions | |
| static bool | is_metainfo_key (const string &key) |
| static bool | is_user_metadata_key (const string &key) |
| static void | merge_postlists (Xapian::Compactor &compactor, FlintTable *out, vector< Xapian::docid >::const_iterator offset, vector< string >::const_iterator b, vector< string >::const_iterator e, Xapian::docid last_docid) |
| static void | merge_spellings (FlintTable *out, vector< string >::const_iterator b, vector< string >::const_iterator e) |
| static void | merge_synonyms (FlintTable *out, vector< string >::const_iterator b, vector< string >::const_iterator e) |
| static void | multimerge_postlists (Xapian::Compactor &compactor, FlintTable *out, const char *tmpdir, Xapian::docid last_docid, vector< string > tmp, vector< Xapian::docid > off) |
| static void | merge_docid_keyed (const char *tablename, FlintTable *out, const vector< string > &inputs, const vector< Xapian::docid > &offset, bool lazy) |
| static bool FlintCompact::is_metainfo_key | ( | const string & | key | ) | [inline, static] |
Definition at line 53 of file flint_compact.cc.
Referenced by merge_postlists(), and FlintCompact::PostlistCursor::next().
| static bool FlintCompact::is_user_metadata_key | ( | const string & | key | ) | [inline, static] |
Definition at line 59 of file flint_compact.cc.
Referenced by merge_postlists(), and FlintCompact::PostlistCursor::next().
| static void FlintCompact::merge_docid_keyed | ( | const char * | tablename, | |
| FlintTable * | out, | |||
| const vector< string > & | inputs, | |||
| const vector< Xapian::docid > & | offset, | |||
| bool | lazy | |||
| ) | [static] |
Definition at line 553 of file flint_compact.cc.
References FlintTable::add(), FlintCursor::current_key, FlintCursor::current_tag, DONT_COMPRESS, FlintTable::empty(), F_pack_uint_preserving_sort(), F_unpack_uint_preserving_sort(), FlintCursor::find_entry(), FlintCursor::next(), FlintTable::open(), and FlintCursor::read_tag().
| static void FlintCompact::merge_postlists | ( | Xapian::Compactor & | compactor, | |
| FlintTable * | out, | |||
| vector< Xapian::docid >::const_iterator | offset, | |||
| vector< string >::const_iterator | b, | |||
| vector< string >::const_iterator | e, | |||
| Xapian::docid | last_docid | |||
| ) | [static] |
Definition at line 137 of file flint_compact.cc.
References FlintTable::add(), Assert, FlintCompact::PostlistCursor::cf, FlintTable::empty(), F_pack_uint(), F_pack_uint_last(), F_pack_uint_preserving_sort(), F_unpack_uint(), F_unpack_uint_last(), FlintCompact::PostlistCursor::firstdid, is_metainfo_key(), is_user_metadata_key(), FlintCompact::PostlistCursor::key, FlintCompact::PostlistCursor::next(), FlintTable::open(), Xapian::Compactor::resolve_duplicate_metadata(), FlintCompact::PostlistCursor::tag, and FlintCompact::PostlistCursor::tf.
Referenced by multimerge_postlists().
| static void FlintCompact::merge_spellings | ( | FlintTable * | out, | |
| vector< string >::const_iterator | b, | |||
| vector< string >::const_iterator | e | |||
| ) | [static] |
Definition at line 299 of file flint_compact.cc.
References FlintTable::add(), PrefixCompressedStringWriter::append(), PrefixCompressedStringItor::at_end(), FlintCursor::current_key, FlintCursor::current_tag, DONT_COMPRESS, FlintTable::empty(), F_pack_uint_last(), F_unpack_uint_last(), FlintCursor::next(), FlintTable::open(), and FlintCursor::read_tag().
| static void FlintCompact::merge_synonyms | ( | FlintTable * | out, | |
| vector< string >::const_iterator | b, | |||
| vector< string >::const_iterator | e | |||
| ) | [static] |
Definition at line 412 of file flint_compact.cc.
References FlintTable::add(), ByteLengthPrefixedStringItor::at_end(), FlintCursor::current_key, FlintCursor::current_tag, DONT_COMPRESS, FlintTable::empty(), MAGIC_XOR_VALUE, FlintCursor::next(), FlintTable::open(), and FlintCursor::read_tag().
| static void FlintCompact::multimerge_postlists | ( | Xapian::Compactor & | compactor, | |
| FlintTable * | out, | |||
| const char * | tmpdir, | |||
| Xapian::docid | last_docid, | |||
| vector< string > | tmp, | |||
| vector< Xapian::docid > | off | |||
| ) | [static] |
Definition at line 498 of file flint_compact.cc.
References FlintTable::commit(), FlintTable::create_and_open(), FlintTable::flush_db(), merge_postlists(), and unlink().