[Xapian-discuss] strange exception in clustering branch PHP bindings

Alessandro Pasotti apasotti at gmail.com
Wed Apr 23 10:37:39 BST 2008


Hello, I was testing xapian PHP5 bindings and the clustering svn
branch when I saw this error:

Exception: DatabaseError: inflate failed (invalid distance too far
back) in /usr/local/share/php5/xapian.php on line 1753

Call Stack:
    0.0005     141008   1. {main}() /test/xapian/xapian_insert2.php:0
    6.0653    3377392   2. XapianLib->cluster()
/test/xapian/xapian_insert2.php:59
    6.0654    3377392   3. XapianClusterSingleLink->cluster()
/classes/xapianlib.class.php:193
    6.0654    3377392   4. clustersinglelink_cluster()
/usr/local/share/php5/xapian.php:1753


On line 1753 there is:

ClusterSingleLink_cluster($this->_cPtr,$database,$clusters,$docsim,$docsource,$num_clusters);

The error message seems to be coming form zlib.


-- 
Alessandro Pasotti
w3: www.itopen.it



More information about the Xapian-discuss mailing list