question: public static void deleteCollection ( String host , String collection ) throws Exception { String deleteCollectionTemplate = "http://%s:%s/solr/admin/collections?action=DELETE&name=%s" ; String deleteCollectionCommand = String . format ( deleteCollectionTemplate , host , DEFAULT_SOLR_PORT , collection ) ; executeSolrCommand ( deleteCollectionCommand ) ; }
target:  Given a collection Name, it deletes it