1、rest接口查询数据
rest查询:
http://localhost:9200/index_name/_search
查询表达式:
{
"query": {
"wildcard": {
"accountID": {
"value": "v*"
}
}
}
}
postman请求截图:

2、使用Rest接口删除数据
rest删除数据:
http://localhost:9200/index_name/_delete_by_query
查询表达式:
{
"query": {
"wildcard": {
"accountID": {
"value": "V*"
}
}
}
}
postman请求截图:













![[答疑]岛上没人穿鞋,卖鞋的愿景是什么](https://img-blog.csdnimg.cn/img_convert/2b81b0d77b2e9fd56e534cc1d724336d.png)





