]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
xap_helper: mset: ignore non-ultimate exceptions
authorEric Wong <e@80x24.org>
Thu, 29 May 2025 00:20:30 +0000 (00:20 +0000)
committerEric Wong <e@80x24.org>
Sun, 1 Jun 2025 10:15:49 +0000 (10:15 +0000)
commit19d330703704a3b667b506c4d14c7e8af98866d4
tree8300f6719bc922b2fcc075bb8ba3fe33444ce49f
parent21823a35c0113d36719e24045dea69378ac57bb2
xap_helper: mset: ignore non-ultimate exceptions

For requests consisting of multiple queries, ignore Xapian
exceptions for all but the last query.  When sending multiple
queries to the `mset' xap_helper command, we only care about the
result of the first successful query where success is defined as
a non-empty mset response.  Thus an exception is considered an
empty mset and we can try other queries from the same request.
lib/PublicInbox/XapHelper.pm
lib/PublicInbox/xh_mset.h
t/xap_helper.t