about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-20 02:32:29 +0000
committerEric Wong <e@80x24.org>2015-08-20 02:32:29 +0000
commit574026d755f5f0c27817d0b60ed7119669b2951b (patch)
tree33a7e863c39d82f218051d86834cbff63fc2c01a /lib/PublicInbox/Search.pm
parent3699084dd2484744e755436e38983c03275c1568 (diff)
downloadpublic-inbox-574026d755f5f0c27817d0b60ed7119669b2951b.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-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 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,
 };