From 6799118eab6f803aaf6f081aaba25bc39a9af078 Mon Sep 17 00:00:00 2001 From: "Muhammad Mikaal S. Anwar" Date: Thu, 21 Sep 2023 18:29:22 +0200 Subject: [PATCH] Added sign-off Signed-off-by: Muhammad Mikaal S. Anwar --- search/search_service/proxy/es_proxy_v2_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/search_service/proxy/es_proxy_v2_1.py b/search/search_service/proxy/es_proxy_v2_1.py index 794db7d494..4822b68c29 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 + # guard clause to prevent search in missing indices/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