我正在尝试使用以下批处理文档删除 AWS CloudSearch 中的单个文档:
[{
"type": "delete",
"id": "532177"
}]
但我从 AWS 收到以下错误:
当下载 SDF 时,它会返回以下内容:
[
{
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"
}
}
]
我要做的就是从我的 CloudSearch 索引中删除一个文档。