code: func (s *UpdateByQueryService) TerminateAfter(terminateAfter int) *UpdateByQueryService {
  	s.terminateAfter = &terminateAfter
  	return s
  }
docs: // TerminateAfter indicates the maximum number of documents to collect
  // for each shard, upon reaching which the query execution will terminate early.