зеркало из https://github.com/github/vulcanizer.git
adds elastic.co documentation link to comment
This commit is contained in:
Родитель
97c0921251
Коммит
71e8a46178
1
es.go
1
es.go
|
@ -1586,6 +1586,7 @@ type ClusterAllocationExplainRequest struct {
|
|||
}
|
||||
|
||||
// ClusterAllocationExplain provides an explanation for a shard’s current allocation.
|
||||
// For more info, please check https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html
|
||||
func (c *Client) ClusterAllocationExplain(req *ClusterAllocationExplainRequest) (string, error) {
|
||||
agent := c.buildGetRequest("_cluster/allocation/explain?pretty").
|
||||
Set("Content-Type", "application/json")
|
||||
|
|
Загрузка…
Ссылка в новой задаче