xapian-core  1.5.0
Namespaces | Functions
dbfactory.h File Reference

Factory functions for constructing Database and WritableDatabase objects. More...

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 
 Xapian::Remote
 Database factory functions for the remote backend.
 

Functions

Database Xapian::Remote::open (const std::string &host, unsigned int port, unsigned timeout=10000, unsigned connect_timeout=10000)
 Construct a Database object for read-only access to a remote database accessed via a TCP connection. More...
 
WritableDatabase Xapian::Remote::open_writable (const std::string &host, unsigned int port, unsigned timeout=0, unsigned connect_timeout=10000, int flags=0)
 Construct a WritableDatabase object for update access to a remote database accessed via a TCP connection. More...
 
Database Xapian::Remote::open (const std::string &program, const std::string &args, unsigned timeout=10000)
 Construct a Database object for read-only access to a remote database accessed via a program. More...
 
WritableDatabase Xapian::Remote::open_writable (const std::string &program, const std::string &args, unsigned timeout=0, int flags=0)
 Construct a WritableDatabase object for update access to a remote database accessed via a program. More...
 

Detailed Description

Factory functions for constructing Database and WritableDatabase objects.