xapian-core  1.4.25
Functions
Xapian::InMemory Namespace Reference

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

Functions

WritableDatabase open ()
 Construct a WritableDatabase object for a new, empty InMemory database.
 

Detailed Description

Database factory functions for the inmemory backend.

Function Documentation

◆ open()

WritableDatabase Xapian::InMemory::open ( )
inline

Construct a WritableDatabase object for a new, empty InMemory database.

Only a writable InMemory database can be created, since a read-only one would always remain empty.

References Xapian::DB_BACKEND_INMEMORY.