about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-21 03:16:53 +0000
committerEric Wong <e@80x24.org>2016-06-21 03:21:11 +0000
commit7ee0fb32fbc59b63a26e2926f3f376bb06f4a41b (patch)
tree723a9ba9fed98b9f62f3fb05a1744f67c915bbcf /lib/PublicInbox/Search.pm
parent1ac3134bb4cc47db05d9e4260e593f7867b46dcb (diff)
downloadpublic-inbox-7ee0fb32fbc59b63a26e2926f3f376bb06f4a41b.tar.gz
We failed to discard old thread IDs when vivifying ghosts
due to out-of-order message arrival.  This rectifies the
failure and will trigger a re-index.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 8c0bab18..bf50365a 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -36,7 +36,8 @@ use constant {
         # 8 - remove redundant/unneeded document data
         # 9 - disable Message-ID compression (SHA-1)
         # 10 - optimize doc for NNTP overviews
-        SCHEMA_VERSION => 10,
+        # 11 - merge threads when vivifying ghosts
+        SCHEMA_VERSION => 11,
 
         # n.b. FLAG_PURE_NOT is expensive not suitable for a public website
         # as it could become a denial-of-service vector