As part of Azure Cognitive Search, I am trying to create an index on CosmosDB container where my documents are in following format.
{
"id": "123456789",
"layerid": 39,
"searchable": {
"Asset_Id": "P0004",
"SAP_Id": "A001-BCD"
}
}
I am able to create a simple index by specifying a particular field e.g. make "layerid" searchable, retrievable etc.
What I need is to index all subfields of the field "searchable" without specifying the name of the subfield itself.
In the scenario that I am working on, the subfields of "searchable" field is not fixed however the structure is fixed.
Is there a way in Cognitive search to cater this scenario?