]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
t/lei-index: ignore {pct} in m: vs mid: queries master
authorEric Wong <e@80x24.org>
Thu, 23 Jul 2026 05:50:53 +0000 (05:50 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 Jul 2026 23:46:03 +0000 (23:46 +0000)
commitc6941d5bfbb1aa3f04767cba8d5cd6a4cc8eceff
tree57086fa1a4c6c0b20b01629dbeba112397ea8c86
parent6db75805af7cc78b997fce468224dacf709df7e7
t/lei-index: ignore {pct} in m: vs mid: queries

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.
t/lei-index.t