| { |
| "documentation": "https://lucene.apache.org/solr/guide/shard-management.html", |
| "description": "Commands to force leader election and synchronize shards.", |
| "methods": [ |
| "POST", |
| "DELETE" |
| ], |
| "url": { |
| "paths": [ |
| "/collections/{collection}/shards/{shard}", |
| "/c/{collection}/shards/{shard}" |
| ] |
| }, |
| "commands": { |
| "force-leader": { |
| "documentation": "https://lucene.apache.org/solr/guide/shard-management.html#forceleader", |
| "description": "In the unlikely event of a shard losing its leader, this command can be invoked to force the election of a new leader", |
| "type": "object" |
| }, |
| "sync-shard": { |
| "type": "object" |
| } |
| } |
| } |