Reputation: 8154
Is there a way to remove a single or even all collections and their various associated settings/shards/etc in Zookeeper/SolrCloud? I would like to start back with a fresh, clean SolrCloud, but I am not seeing any way to clean things up. I tried running zkcli.bat -zkhost localhost:<port> -cmd clear
but that didn't seem to do anything.
Upvotes: 3
Views: 7438
Reputation: 4877
SolrCloud Collections API proivdes support for this. Did you look at
https://cwiki.apache.org/confluence/display/solr/Collections+API
Solrcloud delete collection bug?
You can use solrctl tool if you are working with CDH Solr.
Upvotes: 3