|
xapian-core
2.0.0
|
Compact a database, or merge and compact several. More...
#include <config.h>#include <xapian/compactor.h>#include <algorithm>#include <fstream>#include <string_view>#include <vector>#include <cerrno>#include <cstring>#include <ctime>#include "safesysstat.h"#include <sys/types.h>#include "safeunistd.h"#include "safefcntl.h"#include "backends/backends.h"#include "backends/databaseinternal.h"#include "backends/postlist.h"#include "debuglog.h"#include "omassert.h"#include "filetests.h"#include "fileutils.h"#include "io_utils.h"#include "stringutils.h"#include "str.h"#include "backends/glass/glass_database.h"#include "backends/glass/glass_version.h"#include "backends/honey/honey_database.h"#include "backends/honey/honey_version.h"#include "backends/multi/multi_database.h"#include <xapian/constants.h>#include <xapian/database.h>#include <xapian/error.h>
Include dependency graph for compactor.cc:Go to the source code of this file.
Classes | |
| class | CmpByFirstUsed |
Namespaces | |
| Xapian | |
| The Xapian namespace contains public interfaces for the Xapian library. | |
Functions | |
| static void | backend_mismatch (const Xapian::Database::Internal *db, int backend1, const string &dbpath2, int backend2) |
Compact a database, or merge and compact several.
Definition in file compactor.cc.
|
static |
Definition at line 106 of file compactor.cc.
References backend_name(), and Xapian::Database::Internal::get_backend_info().
Referenced by Xapian::Database::compact_().