title: How to delete multiple id documents in elasticsearch index
body: <pre><code>var elasticsearch = require('elasticsearch');
  var client = new elasticsearch.Client({
      host: 'ABC',
      log: 'trace',
      apiVersion: '7.1'
  });
  client.delete({
          index: 'allevents',
          type: '_doc',
          id:"2"
      }).then(function(resp) {
          console.log("Successful query!");
          console.log(JSON.stringify(resp, null, 4));
      }, function(err) {
          console.trace(err.message);
      });
  </code></pre>
  
  <p>When I delete a single document by passing single id value.its working fine.</p>
  
  <p><strong>But I want to delete multiple documents in a single query</strong>.
  How will we do?</p>
  
  <p>I tried </p>
  
  <pre><code> client.delete({
      index: 'allevents',
      type: '_doc',
      id: ["2","3"]
  })
  </code></pre>
  
  <p>This function returning error.</p>