]> Sergey Matveev's repositories - public-inbox.git/commit
v1: allow upgrading indexlevel=basic to 'medium' or 'full'
authorEric Wong <e@80x24.org>
Fri, 20 Jul 2018 06:58:45 +0000 (06:58 +0000)
committerEric Wong <e@80x24.org>
Fri, 20 Jul 2018 07:02:08 +0000 (07:02 +0000)
commitea54cfe8dad656021517b32c76f0893979fb001b
tree6d12a86947e52e414d35bbac7587f9e7801e7fdd
parent4caa768779a9b417321736b090d50f3421a799de
v1: allow upgrading indexlevel=basic to 'medium' or 'full'

For v1 repos, we don't need to write any metadata to Xapian
and changing from 'basic' to 'medium' or 'full' will work.

For v2, the metadata for indexing is stored in msgmap (because
the Xapian databases are partitioned for parallelism), so a
reindex is required.
lib/PublicInbox/SearchIdx.pm
t/v1reindex.t