Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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