diff --git a/search-api/src/search_api/resources/v1/internal/update_solr.py b/search-api/src/search_api/resources/v1/internal/update_solr.py index ac269bb..ed5cbfc 100644 --- a/search-api/src/search_api/resources/v1/internal/update_solr.py +++ b/search-api/src/search_api/resources/v1/internal/update_solr.py @@ -120,7 +120,7 @@ def get_business_name(business: Dict[str, str]) -> str: alternate_names = business['alternateNames'] if len(alternate_names) > 1: current_app.logger.error('Business has more than one operating name: %s', business['identifier']) - return alternate_names[0]['operatingName'] + return alternate_names[0]['operatingName'].strip() def get_party_name(officer: Dict[str, str]) -> str: """Return the parsed name of the party in the given doc info."""