Functions
Xapian::Brass Namespace Reference

Database factory functions for the brass backend. More...

Functions

Database open (const std::string &dir)
 Construct a Database object for read-only access to a Brass database.
WritableDatabase open (const std::string &dir, int action, int block_size=8192)
 Construct a Database object for update access to a Brass database.

Detailed Description

Database factory functions for the brass backend.


Function Documentation

Database Xapian::Brass::open ( const std::string &  dir)

Construct a Database object for read-only access to a Brass database.

Parameters:
dirpathname of the directory containing the database.
WritableDatabase Xapian::Brass::open ( const std::string &  dir,
int  action,
int  block_size = 8192 
)

Construct a Database object for update access to a Brass database.

Parameters:
dirpathname of the directory containing the database.
actiondetermines handling of existing/non-existing database:
block_sizethe Btree blocksize to use (in bytes), which must be a power of two between 2048 and 65536 (inclusive). The default (also used if an invalid value if passed) is 8192 bytes. This parameter is ignored when opening an existing database.

Documentation for Xapian (version 1.3.1).
Generated on Fri May 3 2013 by Doxygen 1.7.6.1.