Python
import requests url = "https://{FUSION HOST}/api/collections/{collection}/status" response = requests.get(url) print(response.text)
{ "maxShardsPerNode": 1, "replicationFactor": 1, "shards": { "shard1": { "range": "80000000-7fffffff", "state": "active", "replicas": { "core_node1": { "state": "active", "core": "demo_shard1_replica1", "leader": true, "base_url": "https://FUSION_HOST:8983/solr", "node_name": "FUSION_HOST:8983_solr" } } } } }
Status includes the state of each shard and each shard’s replica. Each shard will be listed, and within that each replica, including the core name, its status as leader, the base URL, and the node name.
The name of a collection.
successful operation
Show child attributes
Was this page helpful?