delete(result, key)
} else if _, aliasExists := currentAliasToField[value]; aliasExists {
fmt.Sprintf(errSearchAttributeAlreadyExistsMessage, value),
tag.String("visibility-search-attribute", value),
)
} else if _, ok := current[key]; ok {
return nil, errCustomSearchAttributeFieldAlreadyAllocated