code: func (r *BulkUpdateRequest) ScriptedUpsert(upsert bool) *BulkUpdateRequest {
  	r.scriptedUpsert = &upsert
  	r.source = nil
  	return r
  }
docs: // ScripedUpsert specifies if your script will run regardless of
  // whether the document exists or not.
  //
  // See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-update.html#_literal_scripted_upsert_literal