Ticket #192 (closed defect: released)
Enquire_set_cutoff() does not work as documented in the php-bindings
| Reported by: | malte | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xapian-bindings | Version: | 1.0.2 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
Enquire_set_cutoff (on line 679 of xapian.php) takes three arguments, the resource pointer, percent_cutoff and weight_cutoff.
Executing this function with all 3 arguments (as the bindings always do without manual modification) results in this php error:
Fatal error: No matching function for overloaded 'Enquire_set_cutoff' in ...xapian.php on line 679
But if I remove the weight_cutoff argument in xapian.php: Enquire_set_cutoff($this->_cPtr,$percent_cutoff);
Then it will run with no errors.
I'm thinking this may be a bug introduced by SWIG.
Change History
Note: See
TracTickets for help on using
tickets.
