about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 892e8fda..c482f1c9 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -47,7 +47,6 @@ sub sres_top_html {
         my $opts = {
                 limit => $q->{l},
                 offset => $o,
-                mset => 1,
                 relevance => $q->{r},
                 thread => $q->{t},
                 asc => $asc,
@@ -55,7 +54,7 @@ sub sres_top_html {
         my ($mset, $total, $err, $html);
 retry:
         eval {
-                $mset = $srch->query($query, $opts);
+                $mset = $srch->mset($query, $opts);
                 $total = $mset->get_matches_estimated;
         };
         $err = $@;