Last active
April 30, 2021 15:06
-
-
Save abhaydhar/824e825c861321f88279793fea83f1cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upload Collection - | |
zkcli.bat -zkhost <YOUR_ZOOKEEPER_URL>.searchstax.com:2181 -cmd upconfig -confdir ../configsets/customindexname_web_index/conf/ -confname customindex_site_search_configs | |
CREATE - | |
curl -u 'Username:Password' 'https://<YOUR_SOLR_SEARCHSTAX_URL>/solr/admin/collections?action=CREATE&name=custom_site_master_index&collection.configName=customindex_site_search_configs&numShards=1&replicationFactor=1' | |
curl -u 'Username:Password' -k 'https://<YOUR_SOLR_SEARCHSTAX_URL>/solr/admin/collections?action=CREATE&name=custom_site_web_index&collection.configName=customindex_site_search_configs&numShards=1&replicationFactor=1&createNodeSet=http://<YOUR_SOLR_URL>:8983/solr' | |
DELETE - | |
curl -u 'Username:Password' -k 'https://<YOUR_SOLR_SEARCHSTAX_URL>/solr/admin/collections?action=DELETE&name=custom_site_web_index&wt=xml' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment