// GetScroll The result from the above request includes a _scroll_id, which should be passed to the scroll API in order to retrieve the next batch of results.
// it starts a query directly, should use alone.
GetScroll The result from the above request includes a _scroll_id, which should be passed to the scroll API in order to retrieve the next batch of results.
it starts a query directly, should use alone.
// GetScroll The result from the above request includes a _scroll_id which should be passed to the scroll API in order to retrieve the next batch of results . // it starts a query directly should use alone .
func (c *Client) GetScroll(scrollID, expires string) *Client {
	if expires == "" {
		expires = "1m"
	}
	data, _ := json.Marshal(F{"scroll": expires, "scroll_id": scrollID})
	host := strings.Split(c.hostDB.String(), "/"+c.hostDB.Path)[0]
	return c.exec(host+"/_search/scroll", string(data))
}
func ( c * Client ) GetScroll ( scrollID , expires string ) * Client { if expires == " " { expires = " " } data , _ := json . Marshal ( F { " " : expires , " " : scrollID } ) host := strings . Split ( c . hostDB . String ( ) , " " + c . hostDB . Path ) [ 0 ] return c . exec ( host + " " , string ( data ) ) }
GetScroll The result from the above request includes a _scroll_id, which should be passed to the scroll API in order to retrieve the next batch of results.
GetScroll The result from the above request includes a _scroll_id which should be passed to the scroll API in order to retrieve the next batch of results .