xapian-core  1.4.27
Namespaces | Macros | Functions
omdatabase.cc File Reference
#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>
+ Include dependency graph for omdatabase.cc:

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)
 

Macro Definition Documentation

◆ TRIGRAM_SCORE_THRESHOLD

#define TRIGRAM_SCORE_THRESHOLD   2

Definition at line 591 of file omdatabase.cc.

Referenced by Xapian::Database::get_spelling_suggestion().

◆ VEC_SIZE

#define VEC_SIZE   64

Definition at line 564 of file omdatabase.cc.

Referenced by Xapian::freq_edit_lower_bound().

Function Documentation

◆ docid_zero_invalid()

static void docid_zero_invalid ( )
static

◆ empty_metadata_key()

static void empty_metadata_key ( )
static

◆ no_subdatabases()

static void no_subdatabases ( )
static

◆ sub_db()

size_t sub_db ( Xapian::docid  did,
size_t  n_dbs 
)
inline

◆ sub_docid()

size_t sub_docid ( Xapian::docid  did,
size_t  n_dbs 
)
inline