title: Elastic Search deleteByQuery multiple terms
body: <p>I'm having trouble duplicating my MySQL delete query in elastic search, I am using this documentation: <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" rel="nofollow">http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html</a> using the PHP wrapper for Laravel.</p>
  
  <p>I'm trying this:</p>
  
  <pre><code>$this-&gt;es-&gt;deleteByQuery([
      'index' =&gt; 'users',
      'type'  =&gt; 'user',
      'body'  =&gt; [
          'query' =&gt; [
                              'term' =&gt; ['field1' =&gt; $this-&gt;field1],
                              'term' =&gt; ['field2' =&gt; $this-&gt;field2],
                              'term' =&gt; ['temp' =&gt; 0]
          ]
      ]
  ]);
  </code></pre>
  
  <p>Its suppose to be a DELETE FROM users WHERE field1 = $this->field1 AND field2 = $this->field2...</p>
  
  <p>I'm having trouble translating the WHERE AND syntax to Elastic Search.</p>
  
  <p>Any help?</p>