[Xapian-discuss] Re: Multithreaded read access

Lucian Nicolescu lucian at tonicagency.com
Wed Aug 1 17:06:58 BST 2007


Took care of that, the database is reopened every 60 minutes.

Thanks,
Lucian Nicolescu  

> -----Original Message-----
> From: xapian-discuss-bounces at lists.xapian.org 
> [mailto:xapian-discuss-bounces at lists.xapian.org] On Behalf Of 
> alan runyan
> Sent: Wednesday, August 01, 2007 4:23 PM
> To: xapian-discuss at lists.xapian.org
> Subject: [Xapian-discuss] Re: Multithreaded read access
> 
> > 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
> 
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
> 




More information about the Xapian-discuss mailing list