You can use the following commands to delete.
Use the "match all docs" query in a delete by query command: <br>
'<delete><query>*:*</query></delete>
You must also commit after running the delete so, to empty the index, run the following two commands:<br>
curl
[To see links please register here]
--data '<delete><query>*:*</query></delete>' -H 'Content-type:text/xml; charset=utf-8'
curl
[To see links please register here]
--data '<commit/>' -H 'Content-type:text/xml; charset=utf-8'
Another strategy would be to add two bookmarks in your browser:
[To see links please register here]
;
[To see links please register here]
;
<br>
Source docs from SOLR: <br>
[To see links please register here]