[
https://issues.apache.org/jira/browse/SOLR-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841196#comment-16841196
]
Cassandra Targett commented on SOLR-13468:
------------------------------------------
Actually, the v1 & v2 examples added here don't make any sense. There is no
"old way" of doing the Autoscaling API requests (i.e., as HTTP request
parameters). We should only add that when there is a difference in syntax, not
when the examples are exactly the same. I'm going to distill that into a single
example, and fix several typos in the text also.
The other errors are from a badly formatted {{[source]}} block, they'll go away
with the change I'm making above.
> autoscaling/suggestions should be able to give suggestions from payload
> -----------------------------------------------------------------------
>
> 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
> Assignee: Noble Paul
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]