Hi @Mandeep Chauhan ,
Unfortunately, no. Dynamic schemas being loaded on the fly aren't supported. If the fields under "searchable"
changes, you'll will need to update the index with the new fields as instructed in Creating complex fields.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
Hi @Mandeep Chauhan ,
Unfortunately, no. Dynamic schemas being loaded on the fly aren't supported. If the fields under "searchable"
changes, you'll will need to update the index with the new fields as instructed in Creating complex fields.