]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
searchidx: split shards at 100000 docs by default
authorEric Wong <e@80x24.org>
Mon, 27 Oct 2025 17:56:14 +0000 (17:56 +0000)
committerEric Wong <e@80x24.org>
Tue, 28 Oct 2025 19:25:55 +0000 (19:25 +0000)
commit9d64d5f18313b1063696c438af5f6f827a483ab6
tree6c6ed0007cfbc23bfcea92d26e0aedfe8774ae2a
parent166f0dd5c6ed608edd88749380410e79e0aef9aa
searchidx: split shards at 100000 docs by default

Testing on a busy btrfs system with indexlevel=medium reveals
another ~15% speedup compared to the previous 450000 value since
shards are smaller and less prone to slowdown.  The smaller
splits should also work better with indexlevel=full (the
default) since full indexing with positions takes up the bulk of
the space.
Documentation/public-inbox-index.pod
lib/PublicInbox/SearchIdx.pm