[Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation

oscaruser at programmer.net oscaruser at programmer.net
Tue Jun 13 00:12:21 BST 2006


I can increase this number, but my code stops to run scriptindexer for each single page. If I understand the function of XAPIAN_FLUSH_THRESHOLD, I would see an improved performance if I run scriptindex against several files at once, but not against single pages. I suppose buffering up 100 or so pages would help that.
Thanks

> ----- Original Message -----
> From: "Olly Betts" <olly at survex.com>
> To: oscaruser at programmer.net
> Subject: Re: [Xapian-discuss] Error msg xapian-compact: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
> Date: Sat, 10 Jun 2006 02:07:45 +0100
> 
> 
> Have you tried setting XAPIAN_FLUSH_THRESHOLD in the environment (and
> exporting it)?  It defaults to 10000, but it you've plenty of memory
> you can go to 100000 or probably more.  This increase the interval
> between automatic flushes.


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/




More information about the Xapian-discuss mailing list