title: how do I a delete with a query and filter in solr 4 (w/ solarium)
body: <p>I'm using Solarium with Solr 4 and I need to delete with multiple criteria.  The docs show how to delete with a query</p>
  
  <pre><code>$client = new Solarium\Client($config);
  
  $update = $client-&gt;createUpdate();
  
  $update-&gt;addDeleteQuery('type:comment');
  $update-&gt;addCommit();
  
  $result = $client-&gt;update($update);
  </code></pre>
  
  <p>This works fine. But if I need a different criteria, eg writer_id:123, I'm not sure what to do.  If I add another addDeleteQuery line the final raw query looks like:</p>
  
  <pre><code>&lt;update&gt;
  
    &lt;delete&gt;
      &lt;query&gt;type:comment&lt;/query&gt;
    &lt;/delete&gt;
  
    &lt;delete&gt;
      &lt;query&gt;writer_id:123&lt;/query&gt;
    &lt;/delete&gt;
  
    &lt;commit/&gt;
  
  &lt;/update&gt;
  </code></pre>
  
  <p>It seems this will delete them independently.  I'm not sure if it matters but the defaultOperator from the schema is AND.  Looks like from <a href="http://www.solarium-project.org/forums/topic/change-operator/" rel="nofollow">http://www.solarium-project.org/forums/topic/change-operator/</a> that it's not easily overridable yet.  I'm not sure how to apply the solution there to delete, if that would work even work here.</p>
  
  <p>How can I delete items in solr using multiple criteria?</p>