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 Ian Rose <ia...@fullstory.com> on 2015/04/09 05:21:11 UTC
change maxShardsPerNode for existing collection?
I previously created several collections with maxShardsPerNode=1 but I
would now like to change that (to "unlimited" if that is an option). Is
changing this value possible?
Cheers,
- Ian
Re: change maxShardsPerNode for existing collection?
Posted by Ian Rose <ia...@fullstory.com>.
Thanks, I figured that might be the case (hand-editting clusterstate.json).
- Ian
On Wed, Apr 8, 2015 at 11:46 PM, ralph tice <ra...@gmail.com> wrote:
> It looks like there's a patch available:
> https://issues.apache.org/jira/browse/SOLR-5132
>
> Currently the only way without that patch is to hand-edit
> clusterstate.json, which is very ill advised. If you absolutely must,
> it's best to stop all your Solr nodes, backup the current clusterstate
> in ZK, modify it, and then start your nodes.
>
> On Wed, Apr 8, 2015 at 10:21 PM, Ian Rose <ia...@fullstory.com> wrote:
> > I previously created several collections with maxShardsPerNode=1 but I
> > would now like to change that (to "unlimited" if that is an option). Is
> > changing this value possible?
> >
> > Cheers,
> > - Ian
>
Re: change maxShardsPerNode for existing collection?
Posted by ralph tice <ra...@gmail.com>.
It looks like there's a patch available:
https://issues.apache.org/jira/browse/SOLR-5132
Currently the only way without that patch is to hand-edit
clusterstate.json, which is very ill advised. If you absolutely must,
it's best to stop all your Solr nodes, backup the current clusterstate
in ZK, modify it, and then start your nodes.
On Wed, Apr 8, 2015 at 10:21 PM, Ian Rose <ia...@fullstory.com> wrote:
> I previously created several collections with maxShardsPerNode=1 but I
> would now like to change that (to "unlimited" if that is an option). Is
> changing this value possible?
>
> Cheers,
> - Ian