Hi Karl, During collection creation you can specify the `createNodeSet` parameter as specified by the Solr Reference Guide snippet below:
"createNodeSet Allows defining the nodes to spread the new collection across. The format is a comma-separated list of node_names, such as localhost:8983_solr,localhost:8984_solr,localhost:8985_solr. If not provided, the CREATE operation will create shard-replicas spread across all live Solr nodes. Alternatively, use the special value of EMPTY to initially create no shard-replica within the new collection and then later use the ADDREPLICA operation to add shard-replicas when and where required." There's also Collections API that you can use the node parameter of ADDREPLICA to specify the node that replica shard should be created on. See: https://lucene.apache.org/solr/guide/6_6/collections-api.html#CollectionsAPI-Input.9 Other commands that can be useful are REPLACENODE, MOVEREPLICA. Edward On Thu, Jan 30, 2020 at 1:00 PM Karl Stoney <karl.sto...@autotrader.co.uk.invalid> wrote: > Hey everyone, > Does anyone know of a way to have solr replicas assigned to specific nodes > by some sort of identifying value (in solrcloud). > > In summary I’m trying to have some Read only replicas only every be > assigned to nodes named “solr-ephemeral-x” and my nrt and masters assigned > to “solr-index”. > > Kind of like rack affinity in elasticsearch! > > Get Outlook for iOS<https://aka.ms/o0ukef> > This e-mail is sent on behalf of Auto Trader Group Plc, Registered Office: > 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England > No. 9439967). This email and any files transmitted with it are confidential > and may be legally privileged, and intended solely for the use of the > individual or entity to whom they are addressed. If you have received this > email in error please notify the sender. This email message has been swept > for the presence of computer viruses. >