You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hendrik Haddorp (JIRA)" <ji...@apache.org> on 2018/06/08 06:30:00 UTC

[jira] [Created] (SOLR-12467) allow to change the autoscaling configuration via SolrJ

Hendrik Haddorp created SOLR-12467:
--------------------------------------

             Summary: 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


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