about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-18 01:13:03 +0000
committerEric Wong <e@80x24.org>2015-08-18 01:13:03 +0000
commit12a6897cbe0b825f8bf34416432dba3cecebde90 (patch)
tree9e396ca09ab14e06dc568667e3b903588917852d /lib
parent0da36f5f93dd2a6d1cc03191bdce4d45ecbd8e9b (diff)
downloadpublic-inbox-12a6897cbe0b825f8bf34416432dba3cecebde90.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Search.pm3
1 files changed, 2 insertions, 1 deletions
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,
 };