indexing-fix-4

This commit is contained in:
Untone 2024-02-29 14:11:48 +03:00
parent ca3065f741
commit 67d1a3ae5c

View File

@ -103,7 +103,7 @@ class SearchService:
async def check_index(self):
if self.client:
if not await self.client.indices.exists(index=self.index_name):
if not self.client.indices.exists(index=self.index_name):
await self.create_index()
await self.put_mapping()
else: