[EP-tech] Xapian anomaly

martin.braendle at id.uzh.ch martin.braendle at id.uzh.ch
Thu Apr 2 09:49:44 BST 2015

Dear all,

by accident we found an anomaly in Xapian Quick search behaviour: On
http://www.zora.uzh.ch/ , do a quick search on \sqrt(s):


When one clicks page 3, 4, 5 etc. the results are displayed.
When one clicks page 2, we get a HTTP status 500 error, and the error log
reads as:

[Thu Apr 02 10:33:38 2015] [error] Exception: The revision being read has
been discarded - you should call Xapian::Database::reopen() and retry the

The error happens independent of the browser/OS used.
The same search on our test environment runs without any problems.
Other searches, whether with normal query terms or esoteric such as above,
run fine on both production and test systems.

I have the feeling that this is caused due to same caching problem. Or a
defect database.

Any hints? Delete the Xapian DB and run a full reindex?

On both systems we have EPrints 3.3.12,
perl-Search-Xapian- and
xapian-core-libs-1.2.15-1.x86_64 libraries installed.

As I see, the current version of Xapian is - are there any plans
that EPrints Services offers updated packages?

http://rpm.eprints.org/xapian/6/x86_64/  is out of date since two years.

Best regards,


Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich

mail: martin.braendle at id.uzh.ch
phone: +41 44 63 56705
fax: +41 44 63 54505
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150402/afee6991/attachment.html 

More information about the Eprints-tech mailing list