I have a complex data structure that I would want to index in Elastic.
Its a multi level structure with arrays. What's the best way to model it ?
For example,
{
"Organization": "MyOrg",
"Business Units": [
{
"Name": "Sales",
"Location": "SanJose",
"Employees": [
{
"Name": "George",
"Age": "50"
},
{
"Name": "John",
"Age": "30"
}
]
},
{
"Name": "IT",
"Location": "NewYork",
"Employees": [
{
"Name": "Smith",
"Age": "45"
},
{
"Name": "Clark",
"Age": "25"
}
]
}
]
}