]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: implement --dedupe to fix old extindices
authorEric Wong <e@80x24.org>
Tue, 6 Jul 2021 12:42:02 +0000 (12:42 +0000)
committerEric Wong <e@80x24.org>
Tue, 6 Jul 2021 13:36:54 +0000 (13:36 +0000)
commit8ef622d408d2e4d98ad3aada8466f539c9ac61ba
tree5a66df2970f98c9cb591b615d0f94e28a7f9b32c
parentf1f2464064af3840f2f1a697b638e5b769f111af
extindex: implement --dedupe to fix old extindices

This is intended to fix older indices that had deduplication
bugs for matching content.  It'll also make dealing with
future changes to ContentHash easier since that's never
guaranteed stable.

It also supports --dry-run to print changes only without
making them.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/OverIdx.pm
script/public-inbox-extindex
t/extsearch.t