]> Sergey Matveev's repositories - public-inbox.git/commit
search: make xap_terms easier-to-use and use it more
authorEric Wong <e@80x24.org>
Wed, 23 Jun 2021 11:14:20 +0000 (07:14 -0400)
committerEric Wong <e@80x24.org>
Wed, 23 Jun 2021 19:24:48 +0000 (19:24 +0000)
commit4d594e98063aaad1ce9a90709af7edc5c44a0163
tree50e8ac2cb3b74405ae66bf022f10001fe9c69d32
parent2016078cefa7e4438217e54bb0421a5d5f0b151f
search: make xap_terms easier-to-use and use it more

This allows us to simplify callers throughout, and exceptions are
can no longer be silently hidden.  MiscSearch now uses xap_terms
for looking up eidx_key terms for a code reduction.

We also simplify LeiStore->_msg_kw for runtime use by moving the
MsetIterator handling into t/lei_store.t test case.
lib/PublicInbox/LeiSearch.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/MiscSearch.pm
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
t/lei_store.t