在ES中条件删除的DSL:
POST /indexName/typeName/_delete_by_query?conflicts=proceed&scroll_size=10000
{
"query": {
"range": {
"receive_date": {
"gte": "2019-10-01",
"lte": "2019-10-01"
}
}
}
}
在ES中条件删除的DSL:
POST /indexName/typeName/_delete_by_query?conflicts=proceed&scroll_size=10000
{
"query": {
"range": {
"receive_date": {
"gte": "2019-10-01",
"lte": "2019-10-01"
}
}
}
}