Displaying 1 result from an estimated 1 matches for "enquire_set_bias".
2006 Nov 08
2
set_bias() in bindings
...bias() from the python bindings. This fails
as follows:
>>> db=xapian.Database('/home/richard/foo')
>>> enq=xapian.Enquire(db)
>>> enq.set_bias(1.0, 3600)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: in method 'Enquire_set_bias', argument 3 of type 'time_t'
I know that set_bias is a temporary API, but it would be good to be able to
use it as it is. Is there some trick that can let this work that I don't
know of, or is a fix needed to the bindings?
As far as I can tell, the problem is that SWIG doesn...