question: private String makeDeleteAllUrl ( ) throws UnsupportedEncodingException { HttpSolrServer solrServer = ( HttpSolrServer ) getSolrServer ( ) ; String deleteQuery = "<delete><query>*:*</query></delete>" ; return solrServer . getBaseURL ( ) + "/update?commit=true&stream.body=" + URLEncoder . encode ( deleteQuery , "UTF-8" ) ; }
target:  Compose a url that if you get it, it will delete all the data. 