]> Sergey Matveev's repositories - public-inbox.git/commitdiff
extindex: fix delete (`d') handling
authorEric Wong <e@80x24.org>
Sat, 28 Nov 2020 08:45:21 +0000 (08:45 +0000)
committerEric Wong <e@80x24.org>
Sun, 29 Nov 2020 02:25:39 +0000 (02:25 +0000)
We need to completely remove a message from over.sqlite3 and
Xapian when no references remain, otherwise users will still see
the removed messages in NNTP overviews and WWW search
results/summaries.

References to messages are now solely handled by the `xref3'
table of over.sqlite3.  We can also trust `xref3' when deciding
whether to remove only the "O$eidx_key" and "G$lid" terms from a
document in Xapian or to remove the entire Xapian document.


No differences found