[Xapian-discuss] another DatabaseModifiedError issue

Markus Wörle mrks at mrks.de
Wed May 28 13:22:18 BST 2008


Am 28.05.2008 um 11:52 schrieb James Aylett:

> On Wed, May 28, 2008 at 11:33:39AM +0200, Markus Wörle wrote:
>
>> I use xapian-core-1.0.6 with the corresponding perl bindings. I run a
>> 1 writer/N reader setup on 5 databases, that is the writer as well as
>> each reader holds 5 open db handles at a time. Since I use the perl-
>> bindings and am therefore not able to catch a  
>> DatabaseModifiedError, I
>> do reopen() a database-handle before every query.
>
> Do you hold 5 distinct db handles in the readers, or are they
> aggregated into one Xapian::Database object that you access?

I hold 5 distinct db handles in. Each one opened by

$handle = Search::Xapian::Database->new('/path/to/db');

and reopen()ed before each query.


More information about the Xapian-discuss mailing list