code: func (s *ScrollService) Clear(ctx context.Context) error {
  	s.mu.RLock()
  	scrollId := s.scrollId
  	s.mu.RUnlock()
  	if len(scrollId) == 0 {
  		return nil
  	}
  
  	path := "/_search/scroll"
  	params := url.Values{}
  	body := struct {
  		ScrollId []string `json:"scroll_id,omitempty"`
  	}{
  		ScrollId: []string{scrollId},
  	}
  
  	_, err := s.client.PerformRequest(ctx, PerformRequestOptions{
  		Method:  "DELETE",
  		Path:    path,
  		Params:  params,
  		Body:    body,
  		Retrier: s.retrier,
  	})
  	if err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // Clear cancels the current scroll operation. If you don't do this manually,
  // the scroll will be expired automatically by Elasticsearch. You can control
  // how long a scroll cursor is kept alive with the KeepAlive func.