]> Sergey Matveev's repositories - public-inbox.git/commit
search: support searching on List-Id
authorEric Wong <e@yhbt.net>
Thu, 7 May 2020 03:00:09 +0000 (03:00 +0000)
committerEric Wong <e@yhbt.net>
Sat, 9 May 2020 00:54:34 +0000 (00:54 +0000)
commitb714ab45d30d6f0298d73ef4281c1d0263a02493
treef5d3c3b64d9e04811cb372785ca950bddf301307
parentc2bc9ebcb770a27823d8e989707f434826333b0e
search: support searching on List-Id

We'll support both probabilistic matches via `l:' and boolean
matches via `lid:' for exact matches, similar to how both `m:'
and `mid:' are supported.  Only text inside angle braces (`<'
and `>') are supported, since I'm not sure if there's value in
searching on the optional phrases (which would require decoding
with ->header_str instead of ->header_raw).
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
t/search.t