This commit is contained in:
parent
c444895945
commit
c4817c1e52
|
@ -181,7 +181,7 @@ class SearchService:
|
|||
index=self.index_name, body=search_body, size=limit, from_=offset
|
||||
)
|
||||
|
||||
logger.debug(f"Ищsearch_response: {search_response}")
|
||||
logger.debug(f"search_response: {search_response}")
|
||||
hits = search_response["hits"]["hits"]
|
||||
|
||||
results = [{**hit["_source"], "score": hit["_score"]} for hit in hits]
|
||||
|
|
Loading…
Reference in New Issue
Block a user