From 2bb820dae8164402d9b1596ba3d801c9fd89f92f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 17 Aug 2015 07:56:39 +0000 Subject: search: bump schema version for '%' compression change commit 0fea7793b22efd2596983283947ee43687e0cfac ("mid: compress Message-IDs with '%' in them") requires re-indexing of repositories with '%' in Message-IDs :< --- lib/PublicInbox/Search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 862ed6dd..2608a58f 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -16,7 +16,8 @@ use constant { # 0 - initial # 1 - subject_path is lower-cased # 2 - subject_path is mid_compressed in the index, only - SCHEMA_VERSION => 2, + # 3 - message-ID is compressed if it includes '%' (hack!) + SCHEMA_VERSION => 3, LANG => 'english', QP_FLAGS => FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD, }; -- cgit v1.2.3-24-ge0c7