Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Created on 12-10-201908:14 AM - edited 04-08-202011:43 PM
Many a times, it is necessary for a engineer/administrator to manipulate the content of Ambari-Infra-Solr using the command line utilities. They might or might not have access to the GUI interface.
This video helps to understand the basic manipulation of:
Listing collections and checking cluster status of Solr cloud.
Creating new collections.
Deleting the existing collections.
To check if ambari-infra-solr server instance is running on the node, run the following:
*solr_host = Host where solr instance(s) is running.
*collection = Name of collection.
*shard = Name of shard.
*action = CREATE ( to add a collection(s) )
*action = DELETE ( to delete a collection(s) )
*action = CLUSTERSTATUS ( to get the list of available collection(s) in the Solr cloud cluster )