Posted by Tobias Mueller 2011-10-11
If you want to delete all documents from solr with a cURL JSON POST: curl -i -H ‚Accept: application/json‘ -H ‚Content-type: application/json‘ -X POST -d ‚{„delete“: { „query“:“*“ }}‘ http://localhost:8080/apache-solr-3.3.0/update/json?commit=true
email | twitter | facebook