[Xapian-discuss] set_cutoff <percent_cutoff> [<weight_cutoff>]
Olly Betts
olly at survex.com
Sat May 5 02:54:25 BST 2007
On Fri, May 04, 2007 at 06:43:52PM -0700, Kevin Duraj wrote:
> I tested xapian-core 0.9.9 and xapian-core 0.9.10 they both ignore
> set_cutoff method for the following scenarios ...
Can you try with SVN HEAD? As I said before, the relevant code there
has changed since 0.9.10.
> Scenario 1.) NOT WORKING (set_cutoff method)
> set_cutoff(95, 0)
> set_weighting_scheme(Search::Xapian::BM25Weight->new(0,0,0,0,0));
> enq->set_sort_by_relevance_then_value(1,1)
You didn't show your script, but I just tried adding the equivalent
lines to examples/quest.cc and this case seems to work for me with SVN
HEAD.
Cheers,
Olly
More information about the Xapian-discuss
mailing list