Re: Custom Snitch for Rack Awareness

2020-07-31 Thread Matt Pearce
Hi Anshuman, Rather than creating a custom Snitch, is it possible for you to supply the rack number in a system property, and use that in your placement rule? If you do have to create a custom Snitch, you'll need to extend the abstract Snitch class, and put it in your Solr library directory.

Custom Snitch for Rack Awareness

2020-07-30 Thread Anshuman Singh
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 wh