]> Sergey Matveev's repositories - public-inbox.git/commit
index: support --xapian-only switch
authorEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 01:14:05 +0000 (01:14 +0000)
committerEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 23:45:39 +0000 (23:45 +0000)
commit99def67b86c4d270e8cfda4d1fad418291b6f3a4
tree491a3e58cd7d2cc24c9d44e3a67fd5f1dea476fc
parent06a2418fd053c9a5b80217e74d1b47b8e1ca85e1
index: support --xapian-only switch

This is useful for speeding up indexing runs when only Xapian
rules change but SQLite indexing doesn't change.  This mostly
implies `--reindex', but does NOT pick up new messages (because
SQLite indexing needs to occur for that).

I'm leaving this undocumented in the manpage for now since it's
mainly to speed up development and testing.  Users upgrading to
1.6.0 will be advised to `--reindex --rethread', anyways, due to
the threading improvements since 1.1.0-pre1.

It may make sense to document for 1.7+ when there's Xapian-only
indexing changes, though.
lib/PublicInbox/SearchIdxShard.pm
lib/PublicInbox/V2Writable.pm
script/public-inbox-index