Displaying 3 results from an estimated 3 matches for "pl2weight".
Did you mean:
lmweight
2017 Apr 12
4
Omega: Missing support for newer weighting schemes
...uot;pl2")) {
const char *p = scheme.c_str() + 3;
if (*p == '\0') {
enq.set_weighting_scheme(Xapian::BM25Weight());
return;
}
if (C_isspace(*p)) {
Xapian::Registry reg;
const Xapian::Weight * wt =
reg.get_weighting_scheme("Xapian::PL2Weight");
enq.set_weighting_scheme(*wt->set_parameter_values(p));
return;
}
}
Although, I'm still having a hard time trying to figure out how it's possible
to achieve what we do with the above code by just:
enq.set_weighting_scheme(Xapian::Weight::parse_params(sche...
2017 Apr 09
3
Omega: Missing support for newer weighting schemes
On Sun, Apr 09, 2017 at 11:34:07PM +0530, Vivek Pal wrote:
> > Each scheme already has a human-readable name, and Xapian::Registry
> > can map that to an "examplar" object of the right type, so we
> > could take a string like "bm25 1 0.8", see the first word is "bm25"
> > and get a BM25Weight object, then call parse_params("1 0.8") on
2017 Mar 15
2
xapian core missing link to math on MSYS2
...ht/.libs/bm25plusweight.o weight/.libs/bm25weight.o weight/.libs/boolweight.o weight/.libs/coordweight.o weight/.libs/dlhweight.o weight/.libs/dphweight.o weight/.libs/ifb2weight.o weight/.libs/ineb2weight.o weight/.libs/inl2weight.o weight/.libs/lmweight.o weight/.libs/pl2plusweight.o weight/.libs/pl2weight.o weight/.libs/tfidfweight.o weight/.libs/tradweight.o weight/.libs/weight.o weight/.libs/weightinternal.o -lrpcrt4 -lz -lws2_32 -LD:/bda-ci/msys2/unstable/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0 -LD:/bda-ci/msys2/unstable/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/l...