xapian-core
1.4.26
|
Check a chert table. More...
#include "xapian/types.h"
#include "chert_types.h"
#include <cstring>
#include <iosfwd>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
size_t | check_chert_table (const char *tablename, const std::string &dir, chert_revision_number_t *rev_ptr, int opts, std::vector< Xapian::termcount > &doclens, Xapian::doccount doccount, Xapian::docid db_last_docid, std::ostream *out) |
Check a chert table.
Definition in file chert_dbcheck.h.
size_t check_chert_table | ( | const char * | tablename, |
const std::string & | dir, | ||
chert_revision_number_t * | rev_ptr, | ||
int | opts, | ||
std::vector< Xapian::termcount > & | doclens, | ||
Xapian::doccount | doccount, | ||
Xapian::docid | db_last_docid, | ||
std::ostream * | out | ||
) |
Definition at line 59 of file chert_dbcheck.cc.
References AssertEq, C_unpack_uint_preserving_sort(), ChertTableCheck::check(), ChertTable::cursor_get(), Xapian::BitReader::decode(), ValueStats::freq, VStats::freq_real, Xapian::Error::get_description(), ChertTable::get_entry_count(), is_user_metadata_key(), ValueStats::lower_bound, ChertTable::open(), unpack_bool(), unpack_string(), unpack_string_preserving_sort(), unpack_uint(), unpack_uint_last(), and ValueStats::upper_bound.
Referenced by check_db_dir(), and check_db_table().