xapian-core
1.4.26
|
Database factory functions which determine the database type automatically. More...
Functions | |
Database | open_stub (const std::string &file) |
Construct a Database object for a stub database file. More... | |
WritableDatabase | open_stub (const std::string &file, int action) |
Construct a WritableDatabase object for a stub database file. More... | |
Database factory functions which determine the database type automatically.
|
inline |
Construct a Database object for a stub database file.
The stub database file contains serialised parameters for one or more databases.
file | pathname of the stub database file. |
Definition at line 61 of file dbfactory.h.
References Xapian::DB_BACKEND_STUB, and XAPIAN_DEPRECATED.
|
inline |
Construct a WritableDatabase object for a stub database file.
The stub database file must contain serialised parameters for exactly one database.
file | pathname of the stub database file. |
action | determines handling of existing/non-existing database:
|
Definition at line 85 of file dbfactory.h.
References Xapian::DB_BACKEND_STUB, Xapian::Remote::open(), and XAPIAN_DEPRECATED.