]> Sergey Matveev's repositories - public-inbox.git/commit
search: use boolean prefixes for git blob queries
authorEric Wong <e@80x24.org>
Fri, 20 Jul 2018 06:16:12 +0000 (06:16 +0000)
committerEric Wong <e@80x24.org>
Fri, 20 Jul 2018 07:02:45 +0000 (07:02 +0000)
commit5252ed7b787ddf5dd3f5b6cfda78fa515b21376d
treebb02b1e236b3504b8d1eca12b5c5b0954627081c
parentea54cfe8dad656021517b32c76f0893979fb001b
search: use boolean prefixes for git blob queries

I've hit some case where probabilistic searches don't work when
using dfpre:/dfpost:/dfblob: search prefixes because stemming in
the query parser interferes.

In any case, our indexing code indexes longer/unabbreviated blob
names down to its 7 character abbreviation, so there should be
no need to do wildcard searches on git blob names.
lib/PublicInbox/Search.pm