]> Sergey Matveev's repositories - public-inbox.git/commit
lei_xsearch: avoid false-positives on externals w/ L: and kw:
authorEric Wong <e@80x24.org>
Fri, 3 Sep 2021 08:54:26 +0000 (08:54 +0000)
committerEric Wong <e@80x24.org>
Fri, 3 Sep 2021 08:57:35 +0000 (08:57 +0000)
commita3ad598c92039fae4a78354be9c33fff5328d7db
tree6ef54eeac7feec313f72d35d6ee3c9d47cc76703
parentb81620fe98e17acddbdef47fc4709815bb7ac7cd
lei_xsearch: avoid false-positives on externals w/ L: and kw:

We need to use LeiSearch->qparse_new to handle (and filter out)
"L:" and "kw:" search prefixes to avoid hitting false positives
when externals are involved.  Unfortunately, this doesn't work
for remote HTTP(S) externals, but those aren't enabled by
default.
lib/PublicInbox/LeiXSearch.pm