diff options
author | Eric Wong <e@80x24.org> | 2015-08-18 01:13:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-18 01:13:03 +0000 |
commit | 12a6897cbe0b825f8bf34416432dba3cecebde90 (patch) | |
tree | 9e396ca09ab14e06dc568667e3b903588917852d /lib/PublicInbox/Search.pm | |
parent | 0da36f5f93dd2a6d1cc03191bdce4d45ecbd8e9b (diff) | |
download | public-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/PublicInbox/Search.pm')
-rw-r--r-- | lib/PublicInbox/Search.pm | 3 |
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, }; |