From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.5 required=3.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C481C6338D4 for ; Tue, 18 Aug 2015 01:21:10 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 5/5] search: bump SCHEMA_VERSION to 4 Date: Tue, 18 Aug 2015 01:21:10 +0000 Message-Id: <1439860870-8086-5-git-send-email-e@80x24.org> In-Reply-To: <1439860870-8086-1-git-send-email-e@80x24.org> References: <1439860870-8086-1-git-send-email-e@80x24.org> List-Id: 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(-) diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index d767941..b9f283f 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, }; -- EW