]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
extindex: reduce IPC and Xapian updates on reindex
authorEric Wong <e@80x24.org>
Tue, 26 Aug 2025 19:50:40 +0000 (19:50 +0000)
committerEric Wong <e@80x24.org>
Thu, 28 Aug 2025 18:48:11 +0000 (18:48 +0000)
commit7d4c3d8220df78434c3fc38754a403b12a1aa916
tree7bf2f434d4846185b594f8b387997a17f55b2c9e
parente351f2ea6a67907cdf2d08b4ff627918a030df2b
extindex: reduce IPC and Xapian updates on reindex

Instead of updating the document and re-adding eidx keys +
List-IDs repeatedly, we can do it at once.  Doing so reduces
IPC traffic and ought to reduce FS traffic on the Xapian DB.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/SearchIdx.pm