I'm trying to setup the soft delete feature on Azure Search with a Cosmos DB Graph database as my data source.
Azure Search needs a column in the database to track deletes so I've added a property to all my vertices called 'isDeleted' with a true / false value. However Search still can not use this column as it is stored in the properties collection in the graph db rather than a simple name / value pair.
eg. It is stored like this in the properties object:
"properties": {
"isDeleted": [
{
"id": "95458dcd-02f2-4c2c-a2d3-7515026b74c2",
"value": false
}
]
}
I can't see any way of changing how Cosmos stores the properties have you got any suggestions how I can set this up?