I have a datetime field like that.
<field name="rel_date" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
I try to delete some specific dates on rel_date field by curl query.
curl http://$SOLR_IPADDR:$SOLR_PORT/solr/update/?commit=true -H "Content-Type: text/xml" -d "<delete><query>rel_date:\[2012-03-10\])</query></delete>"
But its getting Invalid date string error on SOLR response.
HTTP Status 400 - Invalid Date String:'[2012-03-10]'
How can I delete specific dates on SOLR records with CURL query?