]> Sergey Matveev's repositories - public-inbox.git/commit
miscsearch: a new Xapian sub-DB for extindex
authorEric Wong <e@80x24.org>
Mon, 23 Nov 2020 07:05:51 +0000 (07:05 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 Nov 2020 05:03:55 +0000 (05:03 +0000)
commit58e764d179131b0fba8590915e2528248be26329
tree18a24739cb8bcc1ec4704772475e8e2dcb225453
parentd792a6e8029e4fe56977c5c5d76bae8fe8836cc4
miscsearch: a new Xapian sub-DB for extindex

This will be used to index and search Inbox objects and perhaps
individual git repositories/epochs for grokmirror manifest.js.gz
generation.  There is no sharding planned for this at the moment
since inbox count should remain low (~100K to 1M) compared to
message count.

Folding this into the existing sharded DBs could be possible;
but would likely increase query and maintenance costs, as well
as development complexity.  So we'll use a few more inodes and
FDs at runtime, instead.
MANIFEST
lib/PublicInbox/ExtSearch.pm
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/MiscIdx.pm [new file with mode: 0644]
lib/PublicInbox/MiscSearch.pm [new file with mode: 0644]
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
t/extsearch.t
t/miscsearch.t [new file with mode: 0644]