Add
POST users/_doc
{
"user":"Mike",
"post_date":"2019-04-07 09:09:08",
"message":"trying out kibana"
}
PUT users/_doc/2?op_type=create
{
"user":"Jack",
"post_date":"2019-05-15 09:09:08",
"message":"trying out Elasticsearch"
}
Delete the original document and write
PUT users/_doc/1
{
"user":"Mike"
}
Add fields to the original document
POST users/_update/1
{
"doc": {
"post_date":"2020-08-09 00:00:00"
}
}
Inquire
GET users/_doc/A3CuRXEBc0QhaYVTQ7p9