Can we do nest level face in FTS?
i am looking for output should look like bellow image. Please
suggest
Can we do nest level face in FTS?
i am looking for output should look like bellow image. Please
@Dhaval Would you share a sample document so we have a better picture of the structure?
We may not support the exact output as shown within your screenshot, however - if you’re trying to obtain facets for a nested field you will be able to do so.
Here’s an example search request that would obtain aggregation details over 2 fields -
{
"size": 10,
"query": {
"match": "water"
},
"facets": {
"type": {
"size": 5,
"field": "type"
},
"city": {
"size": 100,
"field": "address.city"
}
}
}
There’s some documentation available here.