lucene-dev mailing list archives

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


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:
>             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", "": ["east", "west"]}
>   ]
> }' http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message