From 2b530131e580b20a77c20abe9e53895874392afe Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 29 Feb 2024 14:12:35 +0300 Subject: [PATCH] indexing-fix-5 --- services/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/search.py b/services/search.py index a0c8b98e..1e92133f 100644 --- a/services/search.py +++ b/services/search.py @@ -108,7 +108,7 @@ class SearchService: await self.put_mapping() else: # Check if the mapping is correct, and recreate the index if needed - mapping = await self.client.indices.get_mapping(index=self.index_name) + mapping = self.client.indices.get_mapping(index=self.index_name) if mapping != expected_mapping: await self.recreate_index()