title: Truncate index in elasticsearch
body: <p>What would be the equivalent operation in <code>elasticsearch</code>for doing:</p>
  
  <pre><code>TRUNCATE mytable
  </code></pre>
  
  <p>The index that I want to truncate is called 'myindex'. In other words, after the operation, I want to have zero documents in the index 'myindex'.</p>