[Xapian-discuss] Re: Multithreaded read access

alan runyan runyaga at runyaga.com
Wed Aug 1 14:23:29 BST 2007


> I read lots of documents about xapian in mutithreaded environment and
> concluded that even for read access one cannot open the same database more
> than once and perform operations at the same time.

You can open up multiple (ReadOnly) instances of the database.  The problem is
the concurrency between write & read operations with different connections to a
Xapian database.  If your read operations need to be in-sync with committed
write operations,  you will need to re-open the ReadOnly instances before each
read. 

alan




More information about the Xapian-discuss mailing list