Merge branch 'master' into master
This commit is contained in:
commit
9cdcdc171a
|
@ -27,6 +27,7 @@ type SearchRequest struct {
|
|||
source Source
|
||||
timeout *time.Duration
|
||||
collapse map[string]interface{}
|
||||
|
||||
}
|
||||
|
||||
// Search creates a new SearchRequest object, to be filled via method chaining.
|
||||
|
@ -84,6 +85,7 @@ func (req *SearchRequest) Collapse(field string) *SearchRequest {
|
|||
return req
|
||||
}
|
||||
|
||||
|
||||
// SearchAfter retrieve the sorted result
|
||||
func (req *SearchRequest) SearchAfter(s ...interface{}) *SearchRequest {
|
||||
req.searchAfter = append(req.searchAfter, s...)
|
||||
|
|
Loading…
Reference in New Issue