elasticsearch -curd --- 2021-12
2021-12-12 本文已影响0人
一位先生_
GET _search
{
"query": {
"match_all": {}
}
}
GET /accounts/persion/_search?q=weir
GET accounts/persion/_search
{
"query": {
"term": {
"name": {
"value": "weir"
}
}
}
}
POST /accounts/persion/1
{
"name": "weir",
"lastname": "wyt",
"job_description": "Systems administrator and Linux specialit"
}
GET /accounts/persion/1
DELETE /account/persion/1
POST /accounts/persion/1/_update
{
"doc": {
"job_description": "Systems administrator and Linux specialist"
}
}
