From 12a6897cbe0b825f8bf34416432dba3cecebde90 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 18 Aug 2015 01:13:03 +0000 Subject: search: bump SCHEMA_VERSION to 4 The following two commits affect indexing behavior, so change the schema version to avoid compatibility problems or missing messages: search: common Subject: normalization for Re: prefixes search: avoid creating ghosts for circular References --- lib/PublicInbox/Search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/PublicInbox/Search.pm') diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index d7679413..b9f283fb 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -22,7 +22,8 @@ use constant { # 1 - subject_path is lower-cased # 2 - subject_path is mid_compressed in the index, only # 3 - message-ID is compressed if it includes '%' (hack!) - SCHEMA_VERSION => 3, + # 4 - change "Re: " normalization, avoid circular Reference ghosts + SCHEMA_VERSION => 4, QP_FLAGS => FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD, }; -- cgit v1.2.3-24-ge0c7