在head中的复合查询中选择DELETE 参数用_query
例如删除type 为gz_xx某个特定时间内的数据
http://xxx.xx.xxx.xx:9200/yuyinsearch-2016.01/gz_xx/
参数为_query
请求体为:
{
"query": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": "2016-01-22T16:00:00.000Z",
"to": "2016-01-23T15:59:58.000Z"
}
}
}
]
}
}
}