I need to create a search definition file in Vespa where I can a JSON array inside JSON object with all fields searchable
for example-
{
"department": "education",
"designation": "student",
"person": {
"name": "steve",
"city": "delhi",
"hobbies": [
{
"hobbyName": "cricket",
"type": "outdoor"
},
{
"hobbyName": "chess",
"type": "indoor"
}
]
}
}
Here I need to search for a person.name, person.city, person.hobbies.hobbyName, person.hobbies.type.