DSL语法:
#插入一个文档
POST /heima/_doc/1
{
"info":"黑马程序员java僵尸",
"email":"www.qeqeq",
"name":{
"firstName":"yun",
"lastName":"zhao"
}
}
#插入一个文档
POST /heima/_doc/1
{
"info":"黑马程序员java僵尸",
"email":"www.qeqeq",
"name":{
"firstName":"yun",
"lastName":"zhao"
}
}
#查询文档
GET /heima/_doc/1
#删除文档
DELETE /heima/_doc/1