I would like to know how to delete a specific document in an index of Azure Search.
I would like to use "id" to delete a document by using the REST API. I have searched, but couldn't find out the way.
{
"@odata.context": "https://xxxx/$metadata#docs(*)",
"value": [
{
"@search.score": 1,
"id": "16",
"questions": [
"Question"
],
"answer": "Answer",
"source": "https://azure.microsoft.com/ja-jp/support/faq/",
"keywords": [],
"alternateQuestions": null
},
For example, I would like to delete only the document whose id is 16. I don't want to delete whole index, just want to delete the document.
If someone knows how to do it, please provide a REST API sample.