From: Eric Wong Date: Thu, 20 Aug 2015 02:32:29 +0000 (+0000) Subject: search: bump schema version to 5 for subject_path X-Git-Tag: v1.0.0~1030 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=574026d755f5f0c27817d0b60ed7119669b2951b;p=public-inbox.git search: bump schema version to 5 for subject_path 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. --- diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 0e63ee35..abd9db4c 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -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, };