#include <config.h>
#include <xapian.h>
#include <iomanip>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstring>
Include dependency graph for copydatabase.cc:
Go to the source code of this file.
Defines | |
#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) |
Definition in file copydatabase.cc.
#define PROG_NAME "copydatabase" |
Definition at line 34 of file copydatabase.cc.
#define PROG_DESC "Perform a document-by-document copy of one or more Xapian databases" |
Definition at line 35 of file copydatabase.cc.
static void show_usage | ( | int | rc | ) | [static] |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 48 of file copydatabase.cc.
References Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::add_synonym(), Xapian::DB_CREATE, Xapian::WritableDatabase::flush(), 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::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().