]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: bump schema version to 5 for subject_path
authorEric Wong <e@80x24.org>
Thu, 20 Aug 2015 02:32:29 +0000 (02:32 +0000)
committerEric Wong <e@80x24.org>
Thu, 20 Aug 2015 02:32:29 +0000 (02:32 +0000)
In "index: simplify main landing page if search-enabled",
subject normalization went a little farther to drop trailing
'.' characters, so we will need to re-index.

lib/PublicInbox/Search.pm

index 0e63ee35b4143f6f83af20821fa16df52ab209db..abd9db4c4289345200079845a888a94993b42fba 100644 (file)
@@ -22,7 +22,8 @@ use constant {
        # 2 - subject_path is mid_compressed in the index, only
        # 3 - message-ID is compressed if it includes '%' (hack!)
        # 4 - change "Re: " normalization, avoid circular Reference ghosts
-       SCHEMA_VERSION => 4,
+       # 5 - subject_path drops trailing '.'
+       SCHEMA_VERSION => 5,
        QP_FLAGS => FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD,
 };