indexing-fix-4
This commit is contained in:
parent
ca3065f741
commit
67d1a3ae5c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user