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 Prasi S <pr...@gmail.com> on 2013/09/12 07:47:07 UTC
number of replicas in Cloud
Hi,
I want to setup solrcloud with 2 shards and 1 replica for each shard.
MyCollection
shard1 , shard2
shard1-replica , shard2-replica
In this case, i would "numShards=2". For replicationFactor , should give
replicationFactor=1 or replicationFActor=2 ?
Pls suggest me.
thanks,
Prasi
Re: number of replicas in Cloud
Posted by Anshum Gupta <an...@anshumgupta.net>.
Can you specify what do you mean by 'problem'? I don't think there should
be any issues with that.
Hope this is what you followed in your attempt so far:
http://wiki.apache.org/solr/SolrCloud#Example_B:_Simple_two_shard_cluster_with_shard_replicas
On Thu, Sep 12, 2013 at 11:31 AM, Prasi S <pr...@gmail.com> wrote:
> Hi Anshum,
> Im using solr 4.4. Is there a problem with using replicationFactor of 2
>
>
>
>
> On Thu, Sep 12, 2013 at 11:20 AM, Anshum Gupta <anshum@anshumgupta.net
> >wrote:
>
> > Prasi, a replicationFactor of 2 is what you want. However, as of the
> > current releases, this is not persisted.
> >
> >
> >
> > On Thu, Sep 12, 2013 at 11:17 AM, Prasi S <pr...@gmail.com> wrote:
> >
> > > Hi,
> > > I want to setup solrcloud with 2 shards and 1 replica for each shard.
> > >
> > > MyCollection
> > >
> > > shard1 , shard2
> > > shard1-replica , shard2-replica
> > >
> > > In this case, i would "numShards=2". For replicationFactor , should
> give
> > > replicationFactor=1 or replicationFActor=2 ?
> > >
> > >
> > > Pls suggest me.
> > >
> > > thanks,
> > > Prasi
> > >
> >
> >
> >
> > --
> >
> > Anshum Gupta
> > http://www.anshumgupta.net
> >
>
--
Anshum Gupta
http://www.anshumgupta.net
Re: number of replicas in Cloud
Posted by Prasi S <pr...@gmail.com>.
Hi Anshum,
Im using solr 4.4. Is there a problem with using replicationFactor of 2
On Thu, Sep 12, 2013 at 11:20 AM, Anshum Gupta <an...@anshumgupta.net>wrote:
> Prasi, a replicationFactor of 2 is what you want. However, as of the
> current releases, this is not persisted.
>
>
>
> On Thu, Sep 12, 2013 at 11:17 AM, Prasi S <pr...@gmail.com> wrote:
>
> > Hi,
> > I want to setup solrcloud with 2 shards and 1 replica for each shard.
> >
> > MyCollection
> >
> > shard1 , shard2
> > shard1-replica , shard2-replica
> >
> > In this case, i would "numShards=2". For replicationFactor , should give
> > replicationFactor=1 or replicationFActor=2 ?
> >
> >
> > Pls suggest me.
> >
> > thanks,
> > Prasi
> >
>
>
>
> --
>
> Anshum Gupta
> http://www.anshumgupta.net
>
Re: number of replicas in Cloud
Posted by Anshum Gupta <an...@anshumgupta.net>.
Prasi, a replicationFactor of 2 is what you want. However, as of the
current releases, this is not persisted.
On Thu, Sep 12, 2013 at 11:17 AM, Prasi S <pr...@gmail.com> wrote:
> Hi,
> I want to setup solrcloud with 2 shards and 1 replica for each shard.
>
> MyCollection
>
> shard1 , shard2
> shard1-replica , shard2-replica
>
> In this case, i would "numShards=2". For replicationFactor , should give
> replicationFactor=1 or replicationFActor=2 ?
>
>
> Pls suggest me.
>
> thanks,
> Prasi
>
--
Anshum Gupta
http://www.anshumgupta.net