xapian-core
1.4.27
|
Compact a chert database, or merge and compact several. More...
#include <config.h>
#include "xapian/compactor.h"
#include "xapian/constants.h"
#include "xapian/error.h"
#include "xapian/types.h"
#include <algorithm>
#include <queue>
#include <cerrno>
#include <cstdio>
#include "safeunistd.h"
#include "chert_table.h"
#include "chert_cursor.h"
#include "chert_database.h"
#include "filetests.h"
#include "internaltypes.h"
#include "pack.h"
#include "backends/valuestats.h"
#include "../byte_length_strings.h"
#include "../prefix_compressed_strings.h"
Go to the source code of this file.
Classes | |
class | ChertCompact::PostlistCursor |
class | ChertCompact::PostlistCursorGt |
struct | ChertCompact::MergeCursor |
struct | ChertCompact::CursorGt |
Namespaces | |
ChertCompact | |
Functions | |
static bool | ChertCompact::is_metainfo_key (const string &key) |
static bool | ChertCompact::is_user_metadata_key (const string &key) |
static bool | ChertCompact::is_valuestats_key (const string &key) |
static bool | ChertCompact::is_valuechunk_key (const string &key) |
static bool | ChertCompact::is_doclenchunk_key (const string &key) |
static string | ChertCompact::encode_valuestats (Xapian::doccount freq, const string &lbound, const string &ubound) |
static void | ChertCompact::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 | ChertCompact::merge_spellings (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e) |
static void | ChertCompact::merge_synonyms (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e) |
static void | ChertCompact::multimerge_postlists (Xapian::Compactor *compactor, ChertTable *out, const char *tmpdir, vector< ChertTable *> tmp, vector< Xapian::docid > off, Xapian::docid last_docid) |
static void | ChertCompact::merge_docid_keyed (ChertTable *out, const vector< ChertTable *> &inputs, const vector< Xapian::docid > &offset) |
Compact a chert database, or merge and compact several.
Definition in file chert_compact.cc.