<html><body>
<p><font size="2" face="sans-serif">Dear all,</font><br>
<br>
<font size="2" face="sans-serif">by accident we found an anomaly in Xapian Quick search behaviour: On </font><a href="http://www.zora.uzh.ch/"><font size="2" face="sans-serif">http://www.zora.uzh.ch/</font></a><font size="2" face="sans-serif">&nbsp;, do a quick search on \sqrt(s):<br>
<br>
</font><a href="http://www.zora.uzh.ch/cgi/search/simple?q=%5Csqrt%28s%29&_action_search=Search&order=&basic_srchtype=ALL&_satisfyall=ALL"><font size="2" face="sans-serif">http://www.zora.uzh.ch/cgi/search/simple?q=%5Csqrt%28s%29&amp;_action_search=Search&amp;order=&amp;basic_srchtype=ALL&amp;_satisfyall=ALL</font></a><br>
<br>
<font size="2" face="sans-serif">When one clicks page 3, 4, 5 etc. the results are displayed.</font><br>
<font size="2" face="sans-serif">When one clicks page 2, we get a HTTP status 500 error, and the error log reads as:</font><br>
<br>
<font size="2" face="Menlo-Regular">[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 operation</font><br>
<br>
<font size="2" face="sans-serif">The error happens independent of the browser/OS used.</font><br>
<font size="2" face="sans-serif">The same search on our test environment runs without any problems.</font><br>
<font size="2" face="sans-serif">Other searches, whether with normal query terms or esoteric such as above, run fine on both production and test systems.</font><br>
<br>
<font size="2" face="sans-serif">I have the feeling that this is caused due to same caching problem. Or a defect database.</font><br>
<br>
<font size="2" face="sans-serif">Any hints? Delete the Xapian DB and run a full reindex?</font><br>
<br>
<br>
<font size="2" face="sans-serif">On both systems we have EPrints 3.3.12, </font><font size="2" face="Menlo-Regular">perl-Search-Xapian-1.2.15.0-1.el6.x86_64 and xapian-core-libs-1.2.15-1.x86_64 libraries installed.</font><br>
<br>
<font size="2" face="Menlo-Regular">As I see, the current version of Xapian is 1.2.20.0-1 - are there any plans that EPrints Services offers updated packages? </font><br>
<br>
<a href="http://rpm.eprints.org/xapian/6/x86_64/"><font size="2" face="sans-serif">http://rpm.eprints.org/xapian/6/x86_64/</font></a><font size="2" face="Menlo-Regular">&nbsp; is out of date since two years.</font><br>
<br>
<font size="2" face="Menlo-Regular">Best regards,</font><br>
<br>
<font size="2" face="Menlo-Regular">Martin</font><br>
<br>
<font size="2" face="sans-serif">--</font><br>
<font size="2" face="sans-serif">Dr. Martin Brändle</font><br>
<font size="2" face="sans-serif">Zentrale Informatik</font><br>
<font size="2" face="sans-serif">Universität Zürich</font><br>
<font size="2" face="sans-serif">Winterthurerstr. 190</font><br>
<font size="2" face="sans-serif">CH-8057 Zürich</font><br>
<br>
<font size="2" face="sans-serif">mail: martin.braendle@id.uzh.ch</font><br>
<font size="2" face="sans-serif">phone: +41 44 63 56705</font><br>
<font size="2" face="sans-serif">fax: +41 44 63 54505</font><br>
<font size="2" face="sans-serif"><a href="http://www.id.uzh.ch">http://www.id.uzh.ch</a></font></body></html>