indexing-serializer-fix
All checks were successful
Deploy to core / deploy (push) Successful in 1m39s
All checks were successful
Deploy to core / deploy (push) Successful in 1m39s
This commit is contained in:
@@ -148,7 +148,7 @@ class SearchService:
|
||||
if self.client:
|
||||
id_ = str(shout.id)
|
||||
logger.debug(f' Индексируем пост {id_}')
|
||||
self.client.index(index=self.index_name, id=id_, body=shout)
|
||||
self.client.index(index=self.index_name, id=id_, body=shout.dict())
|
||||
|
||||
async def search(self, text, limit, offset):
|
||||
logger.debug(f' Ищем: {text}')
|
||||
|
Reference in New Issue
Block a user