lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13468) autoscaling/suggestions should be able to give suggestions from payload
Date Thu, 16 May 2019 10:34:00 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message