This commit is contained in:
@@ -180,7 +180,8 @@ class SearchService:
|
||||
size=limit,
|
||||
from_=offset,
|
||||
_source=False,
|
||||
_source_excludes=["title", "body", "subtitle", "media", "lead", "_index"])
|
||||
_source_excludes=["title", "body", "subtitle", "media", "lead", "_index"],
|
||||
)
|
||||
hits = search_response["hits"]["hits"]
|
||||
results = [{"id": hit["_id"], "score": hit["_score"]} for hit in hits]
|
||||
|
||||
|
Reference in New Issue
Block a user