about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiQuery.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-02 11:46:48 +0000
committerEric Wong <e@80x24.org>2021-02-03 07:32:33 +0000
commita9ba3d10482daea78739f3da6c8d7739ac8af3fc (patch)
tree27db882c905c00dfb1296f92e994281224eb582f /lib/PublicInbox/LeiQuery.pm
parentecf895dfab4f1afffebbf44049c055324bc9d72d (diff)
downloadpublic-inbox-a9ba3d10482daea78739f3da6c8d7739ac8af3fc.tar.gz
Otherwise, we were only getting 50 matches without (-t)
thread expansion.
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r--lib/PublicInbox/LeiQuery.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm
index 953d1fc2..dea04c13 100644
--- a/lib/PublicInbox/LeiQuery.pm
+++ b/lib/PublicInbox/LeiQuery.pm
@@ -51,6 +51,7 @@ sub lei_q {
 
         my %mset_opt = map { $_ => $opt->{$_} } qw(thread limit offset);
         $mset_opt{asc} = $opt->{'reverse'} ? 1 : 0;
+        $mset_opt{limit} //= 10000;
         $mset_opt{qstr} = join(' ', map {;
                 # Consider spaces in argv to be for phrase search in Xapian.
                 # In other words, the users should need only care about