title: Bulk delete documents of a specific type in elasticsearch
body: <p>I have an index called "animals" in elasticsearch. That contains several documents of type "dogs".
  I want to delete all "dogs" documents in "animals" index. I am using python elasticsearch package. 
  My python code is as follows:</p>
  
  <pre><code>connection = Elasticsearch([{"host": "myhost", "port": "myport" } ])
  body = {} # What should I put in the body???
  connection.bulk(body, index="animals", doc_type="dogs", ignore=[400, 404])
  </code></pre>
  
  <p>Here I don't know what do I need to put in the <code>body</code>. Can anyone help me out?</p>
  
  <p>Bulk method is defined at <a href="https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/client/__init__.py#L1002" rel="nofollow">https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/client/<strong>init</strong>.py#L1002</a> </p>