title: How to delete several documents by ID in one operation using Elasticsearch Nest
body: <p>I am building some abstraction functions for my application to call, which will hit elasticsearch through Nest.  One of such functions is a <code>Delete(string id)</code> call, which is easy to accomplish.  I have done this as follows:</p>
  
  <pre><code>public void Delete(string id)
  {
      esClient.Delete(id);
  }
  </code></pre>
  
  <p>Now let's say I want to do the same thing, but operate on several documents simultaneously.  My original hunch was to do something like this:</p>
  
  <pre><code>public void Delete(IEnumerable&lt;string&gt; ids)
  {
      esClient.DeleteMany(ids); // won't compile
  }
  </code></pre>
  
  <p>As my comment states, doing this won't compile.  What is the proper way of batch deleting documents by ID in Nest?</p>