Re: SolrCloud: Different replicationFactor for different shards in same collection

2018-07-31 Thread Erick Erickson
This feels like more work than necessary, especially the bit: "which will require modification in Solr code". If your needs are to co-locate various groups of documents on specific nodes, composite id (the default) routing has the ability to cluster docs together, see: https://lucene.apache.org/so

Re: SolrCloud: Different replicationFactor for different shards in same collection

2018-07-31 Thread Nawab Zada Asad Iqbal
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 wrote: > Sure, just use the Collections API ADDREPLICA comma

Re: SolrCloud: Different replicationFactor for different shards in same collection

2018-07-31 Thread Erick Erickson
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.