Hello,
I have a document which contains a tree (of unknown depth) with a lot of information and i want to get only a subset of the data of each node (ex: only the key hello in the following example).
{
"id": 42,
"tree": [
{
"hello": "world",
"children": [
{
"hello": "europe",
"children": [
{
"hello": "france",
"children": []
}
]
}
]
}
]
}
I have tried with _source_includes=tree.*hello
/ tree.*.hello
(and a lot of other combination) but i get only the first level. Is there a way to perform an inclusion like this ?
Thanks for your support