From: Eric Wong Date: Tue, 18 Aug 2015 01:13:03 +0000 (+0000) Subject: search: bump SCHEMA_VERSION to 4 X-Git-Tag: v1.0.0~1045 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=12a6897cbe0b825f8bf34416432dba3cecebde90;p=public-inbox.git 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 --- 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, };