Hi,

I'm using Solr-7.4 and I want to create collections in my cluster such that
no two replicas should be assigned to the same Rack.

I read about Rule-based Replica Placement
https://lucene.apache.org/solr/guide/7_4/rule-based-replica-placement.html.
What I got is I have to create a tag/snitch which marks which node belongs
to which Rack and then I can specify the rule in the Collection creation
API. But I didn't get how to create this custom Snitch.

It is unclear to me how to create a custom Snitch. Can someone tell me how
to do it?

Regards,
Anshuman

Reply via email to