about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm13
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index b739faf1..546884a9 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -282,15 +282,10 @@ sub reopen {
 sub query {
         my ($self, $query_string, $opts) = @_;
         $opts ||= {};
-        if ($query_string eq '' && !$opts->{mset}) {
-                $self->{over_ro}->recent($opts);
-        } else {
-                my $qp = $self->{qp} //= qparse_new($self);
-                my $qp_flags = $self->{qp_flags};
-                my $query = $qp->parse_query($query_string, $qp_flags);
-                $opts->{relevance} = 1 unless exists $opts->{relevance};
-                _do_enquire($self, $query, $opts);
-        }
+        my $qp = $self->{qp} //= qparse_new($self);
+        my $query = $qp->parse_query($query_string, $self->{qp_flags});
+        $opts->{relevance} = 1 unless exists $opts->{relevance};
+        _do_enquire($self, $query, $opts);
 }
 
 sub retry_reopen {