Hi
i am using Elastic Enterprise Search for searching document , where i have requirement where i want to get distinct value of 1 field -
for example i want to get distinct brand name available in my engine .
this is my simple search request
{
"query": "coke",
"result_fields": {
"brand": {
"raw": {},
"snippet": {
"size": 100,
"fallback": true
}
}
}
}
but this will give all the record , i know how to get distinct value in Elasticsearch , but am not sure is same is possible in App Search .
Thanks