code: func (b *UpdateService) ScriptedUpsert(scriptedUpsert bool) *UpdateService {
  	b.scriptedUpsert = &scriptedUpsert
  	return b
  }
docs: // ScriptedUpsert should be set to true if the referenced script
  // (defined in Script or ScriptId) should be called to perform an insert.
  // The default is false.