diff options
author | Eric Wong <e@80x24.org> | 2015-08-17 07:56:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-17 07:56:39 +0000 |
commit | 2bb820dae8164402d9b1596ba3d801c9fd89f92f (patch) | |
tree | 5ed5d9b060ea7f1fd29ddf63d82ca86130772ddb /lib | |
parent | 0fea7793b22efd2596983283947ee43687e0cfac (diff) | |
download | public-inbox-2bb820dae8164402d9b1596ba3d801c9fd89f92f.tar.gz |
commit 0fea7793b22efd2596983283947ee43687e0cfac ("mid: compress Message-IDs with '%' in them") requires re-indexing of repositories with '%' in Message-IDs :<
Diffstat (limited to 'lib')
-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 862ed6dd..2608a58f 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -16,7 +16,8 @@ use constant { # 0 - initial # 1 - subject_path is lower-cased # 2 - subject_path is mid_compressed in the index, only - SCHEMA_VERSION => 2, + # 3 - message-ID is compressed if it includes '%' (hack!) + SCHEMA_VERSION => 3, LANG => 'english', QP_FLAGS => FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD, }; |