Xapian 2.0.0 appears to score m: (probabilistic) and mid: (boolean)
matches differently than the 1.4.x series. This seems to make
sense since boolean matches score higher (as expected), so
adjust our case to stop caring about the result of ->get_percent
between different queries.
This behavior was confirmed with Xapian 2.0 on both Debian
sid/rc-buggy and FreeBSD 15.
'imported blob');
lei_ok(qw(q m:qp@example.com --dedupe=none));
my $res_b = json_utf8->decode($lei_out);
- is_deeply($res_b, $res_a, 'no extra DB entries');
+ delete $_->[0]->{pct} for ($res_a, $res_b);
+ is_xdeeply $res_b, $res_a, 'no extra DB entries';
# ensure tag works on index-only messages:
lei_ok(qw(tag +kw:seen t/utf8.eml));