]> Sergey Matveev's repositories - public-inbox.git/commit
view: distinguish strict and loose thread matches
authorEric Wong <e@80x24.org>
Sun, 5 Aug 2018 06:04:40 +0000 (06:04 +0000)
committerEric Wong <e@80x24.org>
Sun, 5 Aug 2018 06:12:33 +0000 (06:12 +0000)
commit0c22c3e3a99527ebf04a647ca287ea2fc9bdeddd
tree381fa5ea5c80452950c774fb278dc9f95cc0dfdc
parent861bec7bec5908871e5b0ede244cb1e990a47403
view: distinguish strict and loose thread matches

The "loose" (Subject:-based) thread matching yields too many
hits for some common subjects (e.g. "[GIT] Networking" on LKML)
and causes thread skeletons to not show the current messages.
Favor strict matches in the query and only add loose matches
if there's space.

While working on this, I noticed the backwards --reindex walk
breaks `tid' on v1 repositories, at least.  That bug was hidden
by the Subject: match logic and not discovered until now.  It
will be fixed separately.

Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
lib/PublicInbox/Over.pm
lib/PublicInbox/View.pm