]> Sergey Matveev's repositories - public-inbox.git/commit
search: simplify unindexing
authorEric Wong <e@yhbt.net>
Fri, 17 Jul 2020 06:31:55 +0000 (06:31 +0000)
committerEric Wong <e@yhbt.net>
Fri, 17 Jul 2020 20:56:54 +0000 (20:56 +0000)
commit592f8239dceb6604e538fd51e62bcce50d6e1972
treeb68db6cce6f2567ac6998b19f7c85e876d605e9c
parentc06e7fc8afea8441ed3d29d63cb8933704b15e7d
search: simplify unindexing

Since over.sqlite3 seems here to stay, we no longer need to do
Message-ID lookups against Xapian and can simply rely on the
docid <=> NNTP article number equivalancy SCHEMA_VERSION=15
gave us.

This rids us of the closure-using batch_do sub in the v1
code path and vastly simplifies both v1 and v2 unindexing.
lib/PublicInbox/OverIdx.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchIdxShard.pm
lib/PublicInbox/V2Writable.pm
t/search.t