You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Hendrik Haddorp <he...@gmx.net> on 2018/06/06 15:03:34 UTC
SolrJ and autoscaling
Hi,
I'm trying to read and modify the autoscaling config. The API on
https://lucene.apache.org/solr/guide/7_3/solrcloud-autoscaling-api.html
does only mention the REST API. The read part does however also work via
SolrJ:
cloudSolrClient.getZkStateReader().getAutoScalingConfig()
Just for the write part I could not find anything in the API. Is this
still a gap?
regards,
Hendrik
Re: SolrJ and autoscaling
Posted by Hendrik Haddorp <he...@gmx.net>.
I opened a Jira for it: https://issues.apache.org/jira/browse/SOLR-12467
On 08.06.2018 07:24, Shalin Shekhar Mangar wrote:
> Yes, we don't have Solrj support for changing autoscaling configuration
> today. It'd be nice to have for sure. Can you please file a Jira? Patches
> are welcome too!
>
> On Wed, Jun 6, 2018 at 8:33 PM, Hendrik Haddorp <he...@gmx.net>
> wrote:
>
>> Hi,
>>
>> I'm trying to read and modify the autoscaling config. The API on
>> https://lucene.apache.org/solr/guide/7_3/solrcloud-autoscaling-api.html
>> does only mention the REST API. The read part does however also work via
>> SolrJ:
>>
>> cloudSolrClient.getZkStateReader().getAutoScalingConfig()
>>
>> Just for the write part I could not find anything in the API. Is this
>> still a gap?
>>
>> regards,
>> Hendrik
>>
>
>
Re: SolrJ and autoscaling
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Yes, we don't have Solrj support for changing autoscaling configuration
today. It'd be nice to have for sure. Can you please file a Jira? Patches
are welcome too!
On Wed, Jun 6, 2018 at 8:33 PM, Hendrik Haddorp <he...@gmx.net>
wrote:
> Hi,
>
> I'm trying to read and modify the autoscaling config. The API on
> https://lucene.apache.org/solr/guide/7_3/solrcloud-autoscaling-api.html
> does only mention the REST API. The read part does however also work via
> SolrJ:
>
> cloudSolrClient.getZkStateReader().getAutoScalingConfig()
>
> Just for the write part I could not find anything in the API. Is this
> still a gap?
>
> regards,
> Hendrik
>
--
Regards,
Shalin Shekhar Mangar.