title: How to delete SOLR indexed data by query with curl?
body: <p>I have a SOLR schema.xml like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;field name="cartype" type="lowercase" indexed="true" stored="true"/&gt;
  &lt;field name="color" type="lowercase" indexed="true" stored="true"/&gt;
  </code></pre>
  
  <p>I want to delete "blue" and "stationwagon" tagged records from SOLR database with a curl command.</p>
  
  <p>But I didn't do that with following command :</p>
  
  <pre class="lang-sh prettyprint-override"><code>curl http://46.231.77.98:7979/solr/update/?commit=true -H "Content-Type: text/xml" -d "&lt;delete&gt;(cartype:stationwagon)AND(color:blue)&lt;/delete&gt;"
  </code></pre>
  
  <p>Do you have any suggestions?</p>