-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Both of the following examples are equivalent in terms of ES however the second is the only one that works when serializing a query into a SearchResponse.
"_source": [
"id",
"price",
"tradeprice",
"title",
"description",
"url",
"abv",
"volume",
"age",
"stocklevel",
"hasdram",
"productimage",
"atomstock",
"distilleryurl",
"isdiscontinued",
"comingsoon",
"stockincoming",
"distillery",
"releasedate",
"isvatableproduct",
"hasfreeshipping",
"userrating",
"preorder",
"maxnumberpercustomer",
"reviewcount"
], "_source": {
"include": [
"id",
"price",
"tradeprice",
"title",
"description",
"url",
"abv",
"volume",
"age",
"stocklevel",
"hasdram",
"productimage",
"atomstock",
"distilleryurl",
"isdiscontinued",
"comingsoon",
"stockincoming",
"distillery",
"releasedate",
"isvatableproduct",
"hasfreeshipping",
"userrating",
"preorder",
"maxnumberpercustomer",
"reviewcount"
]
}Metadata
Metadata
Assignees
Labels
No labels