search: fix altid search with XapHelper process
commit34709e6f0153bd92a117f542a7bfb76e7d289d2e
authorEric Wong <e@80x24.org>
Sun, 5 May 2024 23:35:10 +0000 (5 23:35 +0000)
committerEric Wong <e@80x24.org>
Mon, 6 May 2024 06:06:09 +0000 (6 06:06 +0000)
tree69fdfb6579344b941e7018373ca55623519c3fe1
parent7f3b57f4c1cbbb7ddfa41dde6d25276ee96d3fd4
search: fix altid search with XapHelper process

External Xapian helper processes need to support non-standard
QueryParser prefixes.  The only way to do this is to specify
these prefixes in every `mset' request since we have no idea
if the XH worker servicing the request has initialized the
extra prefixes, yet.
lib/PublicInbox/Search.pm
lib/PublicInbox/XapHelper.pm
lib/PublicInbox/xap_helper.h
t/www_altid.t