[ 
https://issues.apache.org/jira/browse/SOLR-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-13468:
------------------------------
    Description: 
There are cases where users would want to get the suggestion from autoscaling 
configuration sent as a payload . This is helpful in debugging the system or 
get alternate suggestions based on different config.
{code:java}
curl -X POST -H 'Content-type:application/json'  -d '{
"cluster-policy": [
  {"replica": "#EQUAL", "shard": "#EACH", "sysprop.zone": ["east", "west"]}
  ]
}' http://localhost:8983/api/cluster/autoscaling/suggestions
{code}

  was:
There are cases where users would want to get the suggestion from another file 
other than {{autoscaling.json}} . This is helpful in debugging the system or 
get alternate suggestions based on different config.
{code}
/autoscaling/config?config=my-sample-conf.json
{code}


> autoscaling/suggestions should be able to give suggestions from another file
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-13468
>                 URL: https://issues.apache.org/jira/browse/SOLR-13468
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Priority: Major
>
> There are cases where users would want to get the suggestion from autoscaling 
> configuration sent as a payload . This is helpful in debugging the system or 
> get alternate suggestions based on different config.
> {code:java}
> curl -X POST -H 'Content-type:application/json'  -d '{
> "cluster-policy": [
>   {"replica": "#EQUAL", "shard": "#EACH", "sysprop.zone": ["east", "west"]}
>   ]
> }' http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to