We don't want a List-Id value being confused with a Xapian
term prefix, here.
Followup-to: 8b06cda3a3af3f0e ("mda: match List-Id insensitively")
(cherry picked from commit
447d049b70c6723a0de8e28aa7db1a4130394c4b)
$doc->add_boolean_term('Q' . $_) for @$mids;
for my $l ($hdr->header_raw('List-Id')) {
$l =~ /<([^>]+)>/ or next;
- my $lid = $1;
+ my $lid = lc $1;
$doc->add_boolean_term('G' . $lid);
index_text($self, $lid, 1, 'XL'); # probabilistic
}