search-collapse #6

Merged
maxim.yanchuk merged 17 commits from search-collapse into master 2023-11-01 21:11:52 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit bdfe2df171 - Show all commits

View File

@ -19,7 +19,7 @@ type SearchRequest struct {
explain *bool explain *bool
from *uint64 from *uint64
highlight Mappable highlight Mappable
searchAfter []string searchAfter []interface{}
postFilter Mappable postFilter Mappable
query Mappable query Mappable
size *uint64 size *uint64
@ -76,7 +76,7 @@ func (req *SearchRequest) Sort(name string, order Order) *SearchRequest {
} }
// SearchAfter retrieve the sorted result // SearchAfter retrieve the sorted result
func (req *SearchRequest) SearchAfter(s ...string) *SearchRequest { func (req *SearchRequest) SearchAfter(s ...interface{}) *SearchRequest {
req.searchAfter = append(req.searchAfter, s...) req.searchAfter = append(req.searchAfter, s...)
return req return req
} }