22 #ifndef XAPIAN_INCLUDED_CONSTANTS_H 23 #define XAPIAN_INCLUDED_CONSTANTS_H 25 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD 26 # error Never use <xapian/constants.h> directly; include <xapian.h> instead. 52 #ifdef XAPIAN_LIB_BUILD 54 const int DB_ACTION_MASK_ = 0x03;
197 #ifdef XAPIAN_LIB_BUILD 199 const int DB_BACKEND_MASK_ = 0x700;
202 const int DB_READONLY_ = -1;
const int DB_BACKEND_INMEMORY
Use the "in memory" backend.
The Xapian namespace contains public interfaces for the Xapian library.
const int DB_CREATE
Create a new database.
const int DB_FULL_SYNC
Try to ensure changes are really written to disk.
const int DB_CREATE_OR_OPEN
Create database if it doesn't already exist.
const int DBCOMPACT_NO_RENUMBER
Use the same document ids in the output as in the input(s).
const int DOC_ASSUME_VALID
Assume document id is valid.
const int DBCHECK_SHOW_FREELIST
Show the bitmap for the B-tree.
const int DB_BACKEND_GLASS
Use the glass backend.
const int DBCHECK_FULL_TREE
Show a full display of the B-tree contents.
const int DB_OPEN
Open an existing database.
const int DB_DANGEROUS
Update the database in-place.
const int DBCHECK_FIX
Fix problems.
const int DB_NO_SYNC
Don't attempt to ensure changes have hit disk.
const int DB_BACKEND_STUB
Open a stub database file.
const int DB_NO_TERMLIST
When creating a database, don't create a termlist table.
const int DBCOMPACT_MULTIPASS
If merging more than 3 databases, merge the postlists in multiple passes.
const int DB_RETRY_LOCK
If the database is already locked, retry the lock.
const int DB_CREATE_OR_OVERWRITE
Create database if it doesn't already exist, or overwrite if it does.
const int DBCOMPACT_SINGLE_FILE
Produce a single-file database.
const int DB_BACKEND_CHERT
Use the chert backend.
const int DBCHECK_SHORT_TREE
Show a short-format display of the B-tree contents.
const int DBCHECK_SHOW_STATS
Show statistics for the B-tree.