根据编号查询
GET custom/_search
{
"query": {
"term": {
"no": "abc"
}
}
}
查询指定的列
GET custom/_search
{
"_source": ["id", "no"],
"size": 10000,
"query": {
"ids": {
"values": [
1419623, 1419622, 1419621
]
}
}
}
根据id删除
POST /custom/_delete_by_query
{
"query": {
"terms": {
"_id": [21151]
}
}
}