]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
search: index References: for thread:GHOST-MSGID
authorEric Wong <e@80x24.org>
Thu, 20 Feb 2025 22:14:30 +0000 (22:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 23 Feb 2025 12:39:53 +0000 (12:39 +0000)
commita896657a6e22dc6fc28db3a1e3ec6e69022260a5
tree851c824eafc7b334351febf8732600b36ab1fa7e
parent4a682a8519187b13425a47ed1b6b25c4ea3b3f30
search: index References: for thread:GHOST-MSGID

To search for messages in a thread with a ghost msgid,
we need to be able to search against msgids in the
References: header since (by definition) ghosts don't
show up as any Message-ID: we've indexed.

This should make our implementation of `thread:MSGID'
queries equivalent in capability to `thread:THREADID'
of notmuch.
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/xh_thread_fp.h
t/search.t
t/xap_helper.t