The base URL for all API calls below is http://<hostname>:<port>/solr
.
/admin/collections?action=CREATE
: create a collection
/admin/collections?action=RELOAD
: reload a collection
/admin/collections?action=SPLITSHARD
: split a shard into two new shards
/admin/collections?action=CREATESHARD
: create a new shard
/admin/collections?action=DELETESHARD
: delete an inactive shard
/admin/collections?action=CREATEALIAS
: create or modify an alias for a collection
/admin/collections?action=DELETEALIAS
: delete an alias for a collection
/admin/collections?action=DELETE
: delete a collection
/admin/collections?action=DELETEREPLICA
: delete a replica of a shard
/admin/collections?action=ADDREPLICA
: add a replica of a shard
/admin/collections?action=CLUSTERPROP
: Add/edit/delete a cluster-wide property
/admin/collections?action=MIGRATE
: Migrate documents to another collection
/admin/collections?action=ADDROLE
: Add a specific role to a node in the cluster
/admin/collections?action=REMOVEROLE
: Remove an assigned role
/admin/collections?action=OVERSEERSTATUS
: Get status and statistics of the overseer
/admin/collections?action=CLUSTERSTATUS
: Get cluster status
/admin/collections?action=REQUESTSTATUS
: Get the status of a previous asynchronous request
/admin/collections?action=LIST
: List all collections
/admin/collections?action=ADDREPLICAPROP
: Add an arbitrary property to a replica specified by collection/shard/replica
/admin/collections?action=DELETEREPLICAPROP
: Delete an arbitrary property from a replica specified by collection/shard/replica
/admin/collections?action=BALANCESHARDUNIQUE
: Distribute an arbitrary property, one per shard, across the nodes in a collection
/admin/collections?action=REBALANCELEADERS
: Distribute leader role based on the "preferredLeader" assignments
to detail:
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1