[ https://issues.apache.org/jira/browse/SOLR-12467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505921#comment-16505921 ]
Hendrik Haddorp commented on SOLR-12467: ---------------------------------------- If no update straight in ZK is desired then it would still be nice if SolrJ would offer an update request. Given that this is not done all the time this would be fine for me as well. Now the SolrJ API just looks a bit incomplete ;-) > allow to change the autoscaling configuration via SolrJ > ------------------------------------------------------- > > Key: SOLR-12467 > URL: https://issues.apache.org/jira/browse/SOLR-12467 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ > Affects Versions: 7.3.1 > Reporter: Hendrik Haddorp > Priority: Minor > > Using SolrJ's CloudSolrClient it is possible to read the autoscaling > configuration: > cloudSolrClient.getZkStateReader().getAutoScalingConfig() > There is however no way to update it. One can only read out the list of life > nodes and then do a call to Solr using the LBHttpSolrClient for example. > Given that the config is stored in ZooKeeper and thus could be written > directly and even when no Solr instance is running this is not optimal. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org