Skip to content

Commit bb502e5

Browse files
committed
[MODEL] Added an example for specifying size for search
Related: elastic#264
1 parent 12a290a commit bb502e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: elasticsearch-model/lib/elasticsearch/model/searching.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ module ClassMethods
7979
# fields: {
8080
# title: {}
8181
# }
82-
# }
82+
# },
83+
# size: 50
8384
#
8485
# response.results.first.title
8586
# # => "Foo"

0 commit comments

Comments
 (0)