Delete By Query Elasticsearch Python, The syntax goes directly to what is the "query" block in the search API.