]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: fix -Lmedium for IDs and filenames
authorEric Wong <e@80x24.org>
Sat, 13 Mar 2021 15:40:27 +0000 (15:40 +0000)
committerEric Wong <e@80x24.org>
Sat, 13 Mar 2021 22:39:36 +0000 (18:39 -0400)
commit64b557420689476493d752968d99ab8ae62bad9a
tree0987e5bf1a1028adc065d5691ed9ee9d9d0142bd
parent037cc7637baf074b9dc14a67a629940ae84375d9
searchidx: fix -Lmedium for IDs and filenames

This fixes "m:", "l:", "f:", "t:", "c:", "dfn:", and "n:" search
prefixes under indexlevel=medium when mixed with indexlevel=full
inboxish.  We need positional data for Message-IDs, List-Id,
email addresses and filenames for exact matches, though we still
want to support wildcards.

Fortunately the storage cost is still small as these prefixes
tend to be small compared to message bodies.  These are NOT
boolean terms since wildcard support and partial matching is
desired.
lib/PublicInbox/SearchIdx.pm
t/lei_xsearch.t