ES条件删除_delete_by_query的DSL

  • Post author:
  • Post category:其他


在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"
			}
		}
	}
}



版权声明:本文为qq_43985303原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。