I am attempting to delete a single document in AWS CloudSearch using the following batch document:
[{
"type": "delete",
"id": "532177"
}]
but I get the following error from AWS:
and when download the SDF it returns the following:
[
{
type: "add",
id: "delete_img_json",
version: 1406072053,
lang: "en",
fields: {
content: "[{ "type": "delete", "id": "532177" }]",
resourcename: "Delete_IMG.json",
content_encoding: "ISO-8859-2",
content_type: "application/json"
}
}
]
All I am attempting to do is remove a single document from my CloudSearch index.