xapian-core
1.4.27
|
#include <config.h>
#include "autoptr.h"
#include <xapian/constants.h>
#include <xapian/error.h>
#include <xapian/positioniterator.h>
#include <xapian/postingiterator.h>
#include <xapian/termiterator.h>
#include <xapian/unicode.h>
#include "omassert.h"
#include "debuglog.h"
#include "backends/alltermslist.h"
#include "backends/multi/multi_alltermslist.h"
#include "backends/multi/multi_postlist.h"
#include "backends/multi/multi_termlist.h"
#include "backends/multivaluelist.h"
#include "backends/database.h"
#include "editdistance.h"
#include "expand/ortermlist.h"
#include "internaltypes.h"
#include "noreturn.h"
#include "pack.h"
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <vector>
Go to the source code of this file.
Namespaces | |
Xapian | |
The Xapian namespace contains public interfaces for the Xapian library. | |
Macros | |
#define | VEC_SIZE 64 |
#define | TRIGRAM_SCORE_THRESHOLD 2 |
Functions | |
static void | docid_zero_invalid () |
static void | no_subdatabases () |
static void | empty_metadata_key () |
size_t | sub_db (Xapian::docid did, size_t n_dbs) |
size_t | sub_docid (Xapian::docid did, size_t n_dbs) |
static int | Xapian::freq_edit_lower_bound (const vector< unsigned > &a, const vector< unsigned > &b) |
#define TRIGRAM_SCORE_THRESHOLD 2 |
Definition at line 591 of file omdatabase.cc.
Referenced by Xapian::Database::get_spelling_suggestion().
#define VEC_SIZE 64 |
Definition at line 564 of file omdatabase.cc.
Referenced by Xapian::freq_edit_lower_bound().
|
static |
Definition at line 58 of file omdatabase.cc.
References no_subdatabases().
Referenced by Xapian::WritableDatabase::delete_document(), Xapian::Database::get_doclength(), Xapian::Database::get_document(), Xapian::Database::get_unique_terms(), Xapian::Database::positionlist_begin(), Xapian::WritableDatabase::replace_document(), and Xapian::Database::termlist_begin().
|
static |
Definition at line 70 of file omdatabase.cc.
Referenced by Xapian::Database::get_metadata(), no_subdatabases(), and Xapian::WritableDatabase::set_metadata().
|
static |
Definition at line 64 of file omdatabase.cc.
References empty_metadata_key().
Referenced by Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::add_spelling(), Xapian::WritableDatabase::add_synonym(), Xapian::WritableDatabase::begin_transaction(), Xapian::WritableDatabase::cancel_transaction(), Xapian::WritableDatabase::clear_synonyms(), Xapian::WritableDatabase::commit(), Xapian::WritableDatabase::commit_transaction(), Xapian::WritableDatabase::delete_document(), docid_zero_invalid(), Xapian::Database::get_doclength(), Xapian::Database::get_document(), Xapian::Database::get_unique_terms(), Xapian::Database::positionlist_begin(), Xapian::WritableDatabase::remove_spelling(), Xapian::WritableDatabase::remove_synonym(), Xapian::WritableDatabase::replace_document(), Xapian::WritableDatabase::set_metadata(), and Xapian::Database::termlist_begin().
|
inline |
Definition at line 76 of file omdatabase.cc.
Referenced by Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::delete_document(), Xapian::Database::get_total_length(), Xapian::WritableDatabase::replace_document(), and Xapian::Weight::Internal::set_query().
|
inline |
Definition at line 82 of file omdatabase.cc.
Referenced by Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::delete_document(), and Xapian::WritableDatabase::replace_document().