Commit 7340dfc9729172d5e9632479c99a87250560f4af
1 parent
280f51af
Exists in
master
and in
21 other branches
Return all documents if no limit is specified - like sql would
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/search.rb
@@ -40,7 +40,7 @@ module Searchkick | @@ -40,7 +40,7 @@ module Searchkick | ||
40 | end | 40 | end |
41 | end | 41 | end |
42 | end | 42 | end |
43 | - size options[:limit] if options[:limit] | 43 | + size options[:limit] || 100000 # huge number |
44 | from options[:offset] if options[:offset] | 44 | from options[:offset] if options[:offset] |
45 | explain options[:explain] if options[:explain] | 45 | explain options[:explain] if options[:explain] |
46 | 46 |