Commit 5fc2a5123a553fd7c8bf889de5986c587d143dd6
1 parent
2169e17e
Exists in
master
and in
21 other branches
Fields option
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/searchkick/search.rb
... | ... | @@ -40,6 +40,7 @@ module Searchkick |
40 | 40 | end |
41 | 41 | end |
42 | 42 | end |
43 | + # fields "_id", "_type", "name" # only return _id and _type - http://www.elasticsearch.org/guide/reference/api/search/fields/ | |
43 | 44 | size options[:limit] || 100000 # return all - like sql query |
44 | 45 | from options[:offset] if options[:offset] |
45 | 46 | explain options[:explain] if options[:explain] | ... | ... |