|
xapian-core
1.4.30
|
Perform a document-by-document copy of one or more Xapian databases. More...
#include <config.h>#include <xapian.h>#include <initializer_list>#include <iomanip>#include <iostream>#include <cmath>#include <cstdlib>#include <cstring>
Include dependency graph for copydatabase.cc:Go to the source code of this file.
Macros | |
| #define | PROG_NAME "copydatabase" |
| #define | PROG_DESC "Perform a document-by-document copy of one or more Xapian databases" |
Functions | |
| static void | show_usage (int rc) |
| int | main (int argc, char **argv) |
Perform a document-by-document copy of one or more Xapian databases.
Definition in file copydatabase.cc.
| #define PROG_DESC "Perform a document-by-document copy of one or more Xapian databases" |
Definition at line 36 of file copydatabase.cc.
| #define PROG_NAME "copydatabase" |
Definition at line 35 of file copydatabase.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 55 of file copydatabase.cc.
References Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::add_synonym(), Xapian::WritableDatabase::commit(), Xapian::DB_CREATE, DIR_SEPS, DIR_SEPS_LIST, Xapian::Database::get_doccount(), Xapian::Database::get_document(), Xapian::Database::get_metadata(), Xapian::TermIterator::get_termfreq(), Xapian::Database::metadata_keys_begin(), Xapian::Database::metadata_keys_end(), PACKAGE_STRING, Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), PROG_DESC, PROG_NAME, Xapian::WritableDatabase::replace_document(), Xapian::WritableDatabase::set_metadata(), show_usage(), Xapian::Database::spellings_begin(), Xapian::Database::spellings_end(), Xapian::Database::synonym_keys_begin(), Xapian::Database::synonym_keys_end(), Xapian::Database::synonyms_begin(), and Xapian::Database::synonyms_end().
|
static |