diff --git a/search/search_service/proxy/es_proxy_v2_1.py b/search/search_service/proxy/es_proxy_v2_1.py index 4822b68c29..6a07566fcb 100644 --- a/search/search_service/proxy/es_proxy_v2_1.py +++ b/search/search_service/proxy/es_proxy_v2_1.py @@ -363,7 +363,7 @@ def search(self, *, multisearch = MultiSearch(using=self.elasticsearch) for resource in resource_types: - # guard clause to prevent search in missing indices/aliases + # guard clause to prevent search in missing indices or aliases aliases_in_es = self.elasticsearch.indices.get_alias().keys() if self.get_index_alias_for_resource(resource_type=resource) not in aliases_in_es: continue