Displaying 2 results from an estimated 2 matches for "termweight".
2010 Nov 01
1
floating-point issues with set_sort_by_relevance_then_value? (1.2.3, BM25 k1=0)
...ebian Lenny 64bit, AMD Opteron CPUs, core-1.2.3 patched
to r15140 and using chert. This also happens with complex queries where groups
of results are expected to have identical weights.
FIX: I found a simple fix for this issue, at least for my test cases:
I added
if (param_k1 == 0) RETURN(termweight);
to the beginning of BM25Weight::get_sumpart in
trunk/xapian-core/weight/bm25weight.cc:166
This apparently prevents floating point precision issues in the last line of
get_sumpart() [which calculates termweight * wdf_double * 1 / wdf_double]. It
also speeds up my case slightly. ;-)
In order...
2019 Mar 08
0
imap segfault in libc.so with CLucene FTS backend enabled
...#10 0x000063e7edae2620 in lucene::search::Similarity::idf
(this=0x19085526e60, term=0x7945d5822dc0, searcher=0x190855007a0)
at
/var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/search/Similarity.cpp:184
No locals.
#11 0x000063e7edaeda51 in
lucene::search::TermWeight::TermWeight(lucene::search::Searcher*,
lucene::search::TermQuery*, lucene::index::Term*) ()
at
/var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/search/TermQuery.cpp:117
No locals.
#12 0x000063e7edaeda99 in
lucene::search::TermQuery::_createWeight(lucene:...