diff options
author | Eric Wong <e@80x24.org> | 2020-11-23 07:05:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-24 05:03:55 +0000 |
commit | 58e764d179131b0fba8590915e2528248be26329 (patch) | |
tree | 18a24739cb8bcc1ec4704772475e8e2dcb225453 /t/extsearch.t | |
parent | d792a6e8029e4fe56977c5c5d76bae8fe8836cc4 (diff) | |
download | public-inbox-58e764d179131b0fba8590915e2528248be26329.tar.gz |
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.
Diffstat (limited to 't/extsearch.t')
-rw-r--r-- | t/extsearch.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/extsearch.t b/t/extsearch.t index 8792fd9e..e28e2f71 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -72,4 +72,7 @@ my $es = PublicInbox::ExtSearch->new("$home/eindex"); isnt($x1->[0], $x2->[0], 'xref3 differs'); } +my $misc = $es->misc; +is(scalar($misc->mset('')->items), 2, 'two inboxes'); + done_testing; |