Since some API calls, such as shard splitting, can take a long time and result in timeouts, we have the option of running a call asynchronously by specifying the
async=<request_id> parameter in the URL.
<request_id> is any ID that can be used to track the status of a particular API call. The
request_id class and the status of the task are stored in ZooKeeper and can be retrieved using the
REQUESTSTATUS action on the collections API.
We can delete and recreate
catcollection using the following API calls or URLs:
http://solr1:8080/solr/admin/collections?action=DELETE&name=catcollection http://solr1:8080/solr/admin/collections?action=CREATE&name=catcollection&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=conf1&router.field=cat ...