about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-22 06:06:25 +0000
committerEric Wong <e@yhbt.net>2020-08-23 00:14:02 +0000
commitae546078c5696ac73ad9f48c2c90163febb4a246 (patch)
treeb586532c89848510eee9782aeafb2d007c8f9805 /lib/PublicInbox/Search.pm
parentf11e8e72fd42d3d8cbcf5207641d10470a92dcee (diff)
downloadpublic-inbox-ae546078c5696ac73ad9f48c2c90163febb4a246.tar.gz
This is the `tid' column from over.sqlite3; and will be used for
IMAP and JMAP search (among other things).
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index c18e19d4..4cfb7b38 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -18,9 +18,9 @@ use constant {
         # added for public-inbox 1.6.0+
         BYTES => 3, # IMAP RFC822.SIZE
         UID => 4, # IMAP UID == NNTP article number == Xapian docid
+        THREADID => 5, # RFC 8474, RFC 8621
 
         # TODO
-        # THREADID => ?
         # REPLYCNT => ?, # IMAP ANSWERED
 
         # SCHEMA_VERSION history
@@ -47,7 +47,7 @@ use constant {
         #      public-inbox v1.5.0 adds (still SCHEMA_VERSION=15):
         #      * "lid:" and "l:" for List-Id searches
         #
-        #      v1.6.0 adds BYTES and UID values
+        #      v1.6.0 adds BYTES, UID and THREADID values
         SCHEMA_VERSION => 15,
 };