22 #ifndef XAPIAN_INCLUDED_BACKENDMANAGER_MULTI_H 23 #define XAPIAN_INCLUDED_BACKENDMANAGER_MULTI_H 49 const std::vector<std::string>& files);
57 const std::vector<BackendManager*>& sub_manager_);
79 #endif // XAPIAN_INCLUDED_BACKENDMANAGER_MULTI_H
This class is used to access a database, or a group of databases.
unsigned timeout
A timeout value in milliseconds.
Xapian::WritableDatabase get_writable_database_again()
Create a WritableDatabase object for the last opened WritableDatabase.
std::string last_wdb_path
The path of the last writable database used.
std::string get_writable_database_path(const std::string &name)
Get the path of Xapian::WritableDatabase instance.
std::string get_generated_database_path(const std::string &name)
Get the path to use for generating a database, if supported.
std::string createdb_multi(const std::string &name, const std::vector< std::string > &files)
Base class for backend handling in test harness.
This class provides read/write access to a database.
std::string get_compaction_output_path(const std::string &name)
Get a path to compact a database to.
API for working with Xapian databases.
std::string get_writable_database_path_again()
Get the path of the last opened WritableDatabase.
std::vector< BackendManager * > sub_managers
Xapian::Database get_remote_database(const std::vector< std::string > &files, unsigned int timeout)
Get a remote database instance with the specified timeout.
BackendManager subclass for multi databases.
void operator=(const BackendManagerMulti &)
Don't allow assignment.
Xapian::WritableDatabase get_writable_database(const std::string &name, const std::string &file)
Create a Multi Xapian::WritableDatabase object indexing a single file.
std::string do_get_database_path(const std::vector< std::string > &files)
Get the path of the Xapian::Database instance.
BackendManagerMulti(const BackendManagerMulti &)
Don't allow copying.