问题:使用邮递员“ document_missing_exception”更新API吗?

时间:2019-03-29 15:43:02

标签: postman

我批量使用以下部分更新并设置了“标题”:“新标题”

{
  "doc" : {
        "title" : "new title"
   }
}

但是,我得到这样的错误:

{
    "took": 1,
    "errors": true,
    "items": [
        {
            "update": {
                "_index": "categorization_draft",
                "_type": "all",
                "_id": "RKtxzigBaXcmfpjYT1J4",
                "status": 404,
                "error": {
                    "type": "document_missing_exception",
                    "reason": "[all][RKtxzigBaXcmfpjYT1J4]: document missing",
                    "index_uuid": "Kxgk3h61TNOLdqX_Ht-W_A",
                    "shard": "1",
                    "index": "categorization_draft"
                }
            }
        }
    ]
}

0 个答案:

没有答案