From ae546078c5696ac73ad9f48c2c90163febb4a246 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 22 Aug 2020 06:06:25 +0000 Subject: searchidx: index THREADID in Xapian This is the `tid' column from over.sqlite3; and will be used for IMAP and JMAP search (among other things). --- lib/PublicInbox/Smsg.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/PublicInbox/Smsg.pm') diff --git a/lib/PublicInbox/Smsg.pm b/lib/PublicInbox/Smsg.pm index 51226b8e..0a0384ef 100644 --- a/lib/PublicInbox/Smsg.pm +++ b/lib/PublicInbox/Smsg.pm @@ -82,7 +82,8 @@ sub psgi_cull ($) { # drop NNTP-only fields which aren't relevant to PSGI results: # saves ~80K on a 200 item search result: - delete @$self{qw(ts to cc bytes lines)}; + # TODO: we may need to keep some of these for JMAP... + delete @$self{qw(ts tid to cc bytes lines)}; $self; } -- cgit v1.2.3-24-ge0c7