31 index_files_to_database(wdb, files);
44 index_files_to_database(wdb, vector<string>(1, file));
const int DB_BACKEND_INMEMORY
Use the "in memory" backend.
Xapian::Database do_get_database(const std::vector< std::string > &files)
Create a InMemory Xapian::Database object indexing multiple files.
Xapian::WritableDatabase get_writable_database(const std::string &name, const std::string &file)
Create a InMemory Xapian::WritableDatabase object indexing a single file.
This class is used to access a database, or a group of databases.
This class provides read/write access to a database.
std::string get_generated_database_path(const std::string &name)
Get the path to use for generating a database, if supported.
BackendManager subclass for inmemory databases.