Elasticsearch: Remove _source field when processing raw data on backend (#64119)

* Elasticsearch: Remove _source field when processing raw data on backend

* Update snapshot test
This commit is contained in:
Ivana Huckova
2023-03-07 13:56:34 +01:00
committed by GitHub
parent ede3e9e5c4
commit 3bd7217aa2
4 changed files with 64 additions and 197 deletions
@@ -154,7 +154,6 @@ func processRawDataResponse(res *es.SearchResponse, target *Query, configuredFie
"_index": hit["_index"],
"sort": hit["sort"],
"highlight": hit["highlight"],
"_source": flattened,
}
for k, v := range flattened {