From e7de01f139de8a5f90e9f1349732ebae8e2975f9 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Wed, 18 Apr 2018 09:13:06 +0000 Subject: v1: remove articles from overview DB Otherwise articles show up again... --- lib/PublicInbox/SearchIdx.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index f9b40b0d..fd766277 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -385,11 +385,13 @@ sub remove_message { my $db = $self->{xdb}; my $called; $mid = mid_clean($mid); + my $over = $self->{over}; eval { batch_do($self, 'Q' . $mid, sub { my ($ids) = @_; $db->delete_document($_) for @$ids; + $over->delete_articles($ids) if $over; $called = 1; }); }; -- cgit v1.2.3-24-ge0c7