From 70caf43a131fc5bdf7104f82f2acee9d5353d6a8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 May 2019 01:18:07 +0000 Subject: www: use Inbox->over where appropriate We don't need to rely on Xapian search functionality for the majority of the WWW code, even. subject_normalized is moved to SearchMsg, where it (probably) makes more sense, anyways. --- t/search.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/search.t') diff --git a/t/search.t b/t/search.t index 35d71473..493e00de 100644 --- a/t/search.t +++ b/t/search.t @@ -223,7 +223,7 @@ $ibx->with_umask(sub { $rw_commit->(); $ro->reopen; - my $t = $ro->get_thread('root@s'); + my $t = $ro->{over_ro}->get_thread('root@s'); is(scalar(@$t), 4, "got all 4 mesages in thread"); my @exp = sort($long_reply_mid, 'root@s', 'last@s', $long_mid); @res = filter_mids($t); @@ -422,7 +422,7 @@ $ibx->with_umask(sub { if (scalar(@$n) >= 1) { my $mid = $n->[0]->mid; my ($id, $prev); - $art = $ro->next_by_mid($mid, \$id, \$prev); + $art = $ro->{over_ro}->next_by_mid($mid, \$id, \$prev); ok($art, 'article exists in OVER DB'); } $rw->unindex_blob($amsg); -- cgit v1.2.3-24-ge0c7