Namespaces | Variables
constants.h File Reference

Constants in the Xapian namespace. More...

## Namespaces
| Xapian
| The Xapian namespace contains public interfaces for the Xapian library.

## Variables
const int | Xapian::DB_CREATE_OR_OPEN = 0x00
| Create database if it doesn't already exist. More...
const int | Xapian::DB_CREATE_OR_OVERWRITE = 0x01
| Create database if it doesn't already exist, or overwrite if it does.
const int | Xapian::DB_CREATE = 0x02
| Create a new database. More...
const int | Xapian::DB_OPEN = 0x03
| Open an existing database. More...
const int | Xapian::DB_NO_SYNC = 0x04
| Don't attempt to ensure changes have hit disk. More...
const int | Xapian::DB_FULL_SYNC = 0x08
| Try to ensure changes are really written to disk. More...
const int | Xapian::DB_DANGEROUS = 0x10
| Update the database in-place. More...
const int | Xapian::DB_NO_TERMLIST = 0x20
| When creating a database, don't create a termlist table. More...
const int | Xapian::DB_RETRY_LOCK = 0x40
| If the database is already locked, retry the lock. More...
const int | Xapian::DB_BACKEND_GLASS = 0x100
| Use the glass backend. More...
const int | Xapian::DB_BACKEND_CHERT = 0x200
| Use the chert backend. More...
const int | Xapian::DB_BACKEND_STUB = 0x300
| Open a stub database file. More...
const int | Xapian::DB_BACKEND_INMEMORY = 0x400
| Use the "in memory" backend. More...
const int | Xapian::DBCHECK_SHORT_TREE = 1
| Show a short-format display of the B-tree contents. More...
const int | Xapian::DBCHECK_FULL_TREE = 2
| Show a full display of the B-tree contents. More...
const int | Xapian::DBCHECK_SHOW_FREELIST = 4
| Show the bitmap for the B-tree. More...
const int | Xapian::DBCHECK_SHOW_STATS = 8
| Show statistics for the B-tree. More...
const int | Xapian::DBCHECK_FIX = 16
| Fix problems. More...
const int | Xapian::DBCOMPACT_NO_RENUMBER = 4
| Use the same document ids in the output as in the input(s). More...
const int | Xapian::DBCOMPACT_MULTIPASS = 8
| If merging more than 3 databases, merge the postlists in multiple passes. More...
const int | Xapian::DBCOMPACT_SINGLE_FILE = 16
| Produce a single-file database. More...
const int | Xapian::DOC_ASSUME_VALID = 1
| Assume document id is valid. More...

## Detailed Description

Constants in the Xapian namespace.