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请求截图: