根据文档 ID 来更新文档
POST /api/:target/_update/:id
请求示例
POST http://localhost:4080/api/myindex/_update/1
请求体:
{
"name": "Prabhat Sharma is meeting friends in San Francisco"
}
POST /api/:target/_update/:id
POST http://localhost:4080/api/myindex/_update/1
请求体:
{
"name": "Prabhat Sharma is meeting friends in San Francisco"
}
让时间为你证明