These days, when we started using Solr intensively after changing the Elastic Search license, we generally install Solr Collection. And instead of going back and searching every time to find out what the command was, I thought I’d just take a note of it here, maybe it might be useful to others who need it.
First, we will upload the Solr Collection folder we prepared to Zookeeper, it is called upconfig, for this we need to download the zk client here We can download the appropriate version for us. Since I have Solr, I use the zk client in Solr. If you have Solr installed, you can use it too.
../solr/server/scripts/cloud-scripts/zkcli.sh -zkhost -cmd upconfig -confdir -confname
After doing this, when we go to the solr interface and click the add collection button on the Collections page, we will be able to see all the confs on zk, including the one we uploaded, then it is between you and solr :).