es基本命令

查询所有库
GET /_cat/indices?v

查询库中表
GET /es/_search

添加表中数据
POST /test/pay
{
“order_num”:“JF2020081900098”,
“nickname” :“蒋峰”,
“sick” :“蒋峰”,
“sick_address” :“奉贤区”,
“id_card” :“371890199507070908”,
“medical_card” :“5000909009”,
“phone” :“15678900989”,
“source” :“微信小程序”,
“business_type” :“门诊消费”,
“pay_type” :“微信”,
“pay_price” :“60.00”,
“pay_status” :“已支付”,
“balance_price” :“800.00”,
“beizhu” :"",
“create_time” :“1618071003”
}

查询表中数据
GET /test/pay/_search

删除表
DELETE /test

上一篇:Welcome to my Blog


下一篇:消除if…else的锦囊妙计