- Elasticsearch技术解析与实战
- 朱林编著
- 55字
- 2025-04-01 07:18:10
1.5.5 插入数据
请求:PUT http://127.0.0.1:9200/secisland/secilog/1/
参数:
{
"computer": "secisland",
"message": "secisland is an security company!"
}
返回值:
{ "_index": "secisland", "_type": "secilog", "_id": "1", "_version": 1, "_shards": {"total": 2,"successful": 1,"failed": 0 }, "created": true }