// This check is not needed in SQL DB because all custom search attributes
// are pre-allocated, and only aliases are created.
for saName, saType := range request.GetSearchAttributes() {
if !currentSearchAttributes.IsDefined(saName) {
customAttributesToAdd[saName] = saType
h.logger.Warn(
fmt.Sprintf(errSearchAttributeAlreadyExistsMessage, saName),