Displaying 2 results from an estimated 2 matches for "classxapian_1_1msetiterator".
2007 Jan 13
1
xapian query group result by domain?
Hi
I know it might not possible, but just want to try my luck.
say, for a web search engine backed by xapian....
Is it possible to group the result by domain just like google's [ More
results from www.abc.com ],
when there are more than 1 results from the same domain?
Or, anyone have some work around to do it?
Cheers
Andrey Kong
2012 Mar 16
1
MSetIterator::get_percent Shows Increased Values When Using Query::OP_FILTER
...is returned when performing a simple 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'. E...