-
删除子文档
DELETE /123_test_event_20180129_001/child_t_mail/65163931782781692481518058211027?routing=651639317827816924
8 -
删除索引
DELETE test_event
DELETE test_event*
curl -XDELETE http://172.168.1.201:9200/test_event
curl -XDELETE http://172.168.1.201:9200/test_event*
- 删除文档
curl -XDELETE http://localhost:9200/{index}/{type}/{id}
删除索引中某一类type的数据
POST real_test_object_001/t_vitualacc/_delete_by_query?conflicts=proceed
{
"query": {
"match_all": {}
}
}
POST h2_test_event/t_clue_www/_delete_by_query?conflicts=proceed
{
"query": {
"bool" : {
"must" : [
{
"range" : {
"ES_RECORD_TIME.keyword" : {
"from" : "2018-05-21 11:08:01",
"to" : "2018-05-21 11:08:22",
"include_lower" : true,
"include_upper" : true,
"boost" : 1.0
}
}
},{
"match":{
"m_dip":3232236612
}
}
],
"disable_coord" : false,
"adjust_pure_negative" : true,
"boost" : 1.0
}
}
}