diff --git a/services/search.py b/services/search.py index 9347426d..96da472b 100644 --- a/services/search.py +++ b/services/search.py @@ -179,6 +179,7 @@ class SearchService: body=search_body, size=limit, from_=offset, + _source=False, _source_excludes=["title", "body", "subtitle", "media", "lead", "_index"]) hits = search_response["hits"]["hits"] results = [{"id": hit["_id"], "score": hit["_score"]} for hit in hits]