diff --git a/search/search.go b/search/search.go index e38bf3fa..554ecffa 100644 --- a/search/search.go +++ b/search/search.go @@ -197,3 +197,8 @@ func (s *SearchDsl) Sort(sort ...*SortDsl) *SearchDsl { s.SortBody = append(s.SortBody, sort...) return s } + +func (s *SearchDsl) Scroll(duration string) *SearchDsl { + s.args["scroll"] = duration + return s +}