{
"group" : "fans",
"user" : [
{
"first" : "John",
"last" : "Smith"
},
{
"first" : "Alice",
"last" : "White"
},
]
}
i need to fetch the user's firstname only
You can use the fields parameter to limit the fields in your output. So if e.g. you model the user as nested objects and run a nested_query you can then filter with "fields": ["user.first"] and the output will only contain that field.