#include <config.h>
#include "xapian-check-brass.h"
#include "xapian-check-chert.h"
#include "xapian-check-flint.h"
#include "chert_check.h"
#include "stringutils.h"
#include "utils.h"
#include <xapian.h>
#include <stdexcept>
#include <iostream>

Go to the source code of this file.
Defines | |
| #define | PROG_NAME "xapian-check" |
| #define | PROG_DESC "Check the consistency of a database or table" |
Functions | |
| static void | show_usage () |
| static void | reserve_doclens (vector< Xapian::termcount > &doclens, Xapian::docid last_docid) |
| int | main (int argc, char **argv) |
Definition in file xapian-check.cc.
| #define PROG_DESC "Check the consistency of a database or table" |
| #define PROG_NAME "xapian-check" |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 87 of file xapian-check.cc.
References check_brass_table(), check_chert_table(), check_flint_table(), endswith(), file_exists(), Xapian::Error::get_description(), Xapian::Database::get_lastdocid(), Xapian::Brass::open(), Xapian::Chert::open(), Xapian::Flint::open(), OPT_FULL_TREE, OPT_SHORT_TREE, OPT_SHOW_BITMAP, OPT_SHOW_STATS, opts, PACKAGE_STRING, PROG_DESC, PROG_NAME, reserve_doclens(), show_usage(), stat(), and Xapian::Unicode::tolower().
| static void reserve_doclens | ( | vector< Xapian::termcount > & | doclens, | |
| Xapian::docid | last_docid | |||
| ) | [static] |
| static void show_usage | ( | ) | [static] |