]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: bump SCHEMA_VERSION to 4
authorEric Wong <e@80x24.org>
Tue, 18 Aug 2015 01:13:03 +0000 (01:13 +0000)
committerEric Wong <e@80x24.org>
Tue, 18 Aug 2015 01:13:03 +0000 (01:13 +0000)
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

index d767941380c03a175281d50b1c67031025848d79..b9f283fb2f5433a4839aab87b561f42d5e44f56c 100644 (file)
@@ -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,
 };