search for: enquire_set_weighting_scheme

Displaying 1 result from an estimated 1 matches for "enquire_set_weighting_scheme".

2012 Jul 17
1
Can not use custom weight scheme with python binding
...rn "" def get_sumpart(*args): return 1 def get_maxpart(*args): return 1 def get_sumextra(*args): return 0 def get_maxextra(*args): return 0 ... ... enquire.set_weighting_scheme(TinkerWeight()) But is throws this error: *in method 'Enquire_set_weighting_scheme', argument 2 of type 'Xapian::Weight const &'* Could anyone help me to solve this? Thanks a lot.