Displaying 1 result from an estimated 1 matches for "99514c11a9291175d20fafa73a0839fd".
2012 Mar 16
1
MSetIterator::get_percent Shows Increased Values When Using Query::OP_FILTER
...mple query. It appears that the addition of
a filter to a simple OR query will not affect the weight of the match, but
will increase the percent of the resulting match. According to the
documentation for MSetIterator::get_percent (
http://xapian.org/docs/apidoc/html/classXapian_1_1MSetIterator.html#99514c11a9291175d20fafa73a0839fd)
a match should only get 100% if it matches all of the weight contributing
terms in the query.
I've attached a test case that shows the odd behavior that I am seeing. I
had a database with 2 documents, each with one term 'cold' and 'kid'. Each
document also has a boolean term f...