Skip to content

Instantly share code, notes, and snippets.

@waynegraham
Created April 11, 2012 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save waynegraham/2355797 to your computer and use it in GitHub Desktop.
Save waynegraham/2355797 to your computer and use it in GitHub Desktop.
Delete solr index with curl
curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment