code: func (r *BulkIndexRequest) RetryOnConflict(retryOnConflict int) *BulkIndexRequest {
  	r.retryOnConflict = &retryOnConflict
  	r.source = nil
  	return r
  }
docs: // RetryOnConflict specifies how often to retry in case of a version conflict.