// check if alias is already in use
if _, ok := aliasToFieldMap[saName]; ok {
fmt.Sprintf(errSearchAttributeAlreadyExistsMessage, saName),
tag.String(namespaceTagName, nsName),
tag.String(visibilitySearchAttributeTagName, saName),
)
continue
}
// find the first available field for the given type