Hello, What does this error mean? What do to is clear :-), but what was the cause? The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation Thanks a lot Marcus
Andreas Marienborg
2009-Oct-02 05:53 UTC
[Xapian-discuss] The revision being read has been discarded
On 1 Oct 2009, at 16:35, double wrote:> Hello, > > What does this error mean? What do to is clear :-), but what > was the cause? > > The revision being read has been discarded - you should call > Xapian::Database::reopen() and retry the operationThis is usually a result of the database chaining during the read, or in between calling enquire and get_mset (at least thats when I get it). I usually (in perl) eval around it in a loop and retry a few times with reopen each time, but I index new items several times each minute, so I guess I'm getting the exception more often than some other use cases should :) - andreas