Shared Cluster Deployments
In the context of a Shared Cluster deployment, there is exactly one configset at all times. SearchStax Cloud gives you direct editing access to the configs, so you can edit them, reload, and run. The question of “deleting” a surplus configset does not come up.
In the case of Dedicated Deployments, a few users have asked how to clear Solr configuration files from ZooKeeper, where multiple configs can accumulate.
Security Best Practices
Be sure to see our page on securing Zookeeper using SearchStax.
Removing a Solr configuration from ZooKeeper is easy to do using the zkcli script.
> ./zkcli.sh -zkhost <zookeeper URL> -cmd clear /configs/<configuration name>
$ zkcli.bat -zkhost <zookeeper URL> -cmd clear /configs/<configuration name>
where <zookeeper URL> is the Zookeeper Ensemble URL from your deployment details page;
and <configuration name> is Zookeeper’s internal name for this configuration (
./zkcli.sh -zkhost ss123456-1-zk-us-west-2-aws.searchstax.com:2181 -cmd clear /configs/test1
SearchStax provides a Zookeeper API!
The SearchStax Zookeeper API provides secure, password-protected access to Zookeeper. You can list, create, read, delete, and download config files using this API.
Do not hesitate to contact the SearchStax Support Desk.