When attempting to deploy this module on drupal.org, we ran into a snag in which it seems the support for remote xapian servers is not working properly. The error is:

     Fatal error: No matching function for overloaded 'new_WritableDatabase' in /usr/share/php5/xapian.php on line 1118

The error seems to be that we're passing in an invalid $db_source when configured for a remote database (line 348 of the xapian.module). With a local database $db_source is a string, and this works fine. With a remote database, $db_source is an object and new_WritableDatabase evidently isn't expecting that.

I'm opening the bug now to track this, but I'm offline for a few days. I'll look into it more when I return. Patches are of course welcome!

Comments

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Active » Fixed

This error is because the Xapian API is not consistent between local and remote databases. Fix committed, based on this old Xapian mailing list discussion.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.