lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nawab Zada Asad Iqbal <khi...@gmail.com>
Subject Re: SolrCloud: Different replicationFactor for different shards in same collection
Date Wed, 01 Aug 2018 00:20:12 GMT
Thanks Erick


This is for future. I am exploring to use a custom sharding scheme (which
will require modification in Solr code) together with the benefits of
SolrCloud.



Thanks
Nawab



On Tue, Jul 31, 2018 at 4:51 PM, Erick Erickson <erickerickson@gmail.com>
wrote:

> Sure, just use the Collections API ADDREPLICA command to add as many
> replicas for specific shards as you want. There's no way to specify
> that at creation time though.
>
> Some of the new autoscaling can do this automatically I believe.
>
> I have to ask what it is about your collection that this is true. If
> you're using the default composite id routing having one shard get
> substantially more queries than the others is unexpected.
>
> If you're using implicit routing then it's perfectly understandable.
>
> Best,
> Erick
>
> On Tue, Jul 31, 2018 at 4:12 PM, Nawab Zada Asad Iqbal <khichi@gmail.com>
> wrote:
> > Hi,
> >
> > I am looking at Solr 7.x and couldn't find an answer in the
> documentation.
> > Is it possibly to specify different replicationFactor for different
> shards
> > in same collection? E.g. if a certain shard is receiving more queries
> than
> > rest of the collection  I would like to add more replicas for it to help
> > with the query load.
> >
> >
> >
> > Thanks
> > Nawab
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message