全覆盖修改
{
"id": "46",
"fileId": "ad6643000e0d6f0801f9af65413ce093",
"type": "TRAN_SESD",
"status": "DOING",
"createdTime": 1565318242000,
"updatedTime": 1565323396000
}
部分字段修改
{
"doc": {
"status": "DOING"
}
}
根据条件删除
{
"query": {
"match": {
"fileId": "ad6643000e0d6f0801f9af65413ce093"
}
}
}
根据id 删除
无
查看文档
无
自定义id新增文档
{
"id": "46",
"fileId": "ad6643000e0d6f0801f9af65413ce093",
"type": "TRAN_SESD",
"status": "DOING",
"createdTime": 1565318242000,
"updatedTime": 1565323396000
}
非自定义id新增文档
{
"id": "46",
"fileId": "ad6643000e0d6f0801f9af65413ce093",
"type": "TRAN_SESD",
"status": "DOING",
"createdTime": 1565318242000,
"updatedTime": 1565323396000
}