Displaying 2 results from an estimated 2 matches for "matchbiasfunctor".
2006 Jul 25
2
weight scheme with document values
Hi guys,
I resently used xapian to sort some documents by distance between 2
points.
I implemented a MatchDecider which work well.
I now tried to implement a Weight scheme to put my document in ascending
order depending on the distance...
My information to calcul distance is in values in the document.
How I can access document values from Weight to be able to add some
sum_extra weight ??
2006 Nov 08
2
set_bias() in bindings
I'm trying to call Enquire.set_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