Using policy/preference/... to keep certain collections split?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using policy/preference/... to keep certain collections split?

Koen De Groote
Hello,

I'm trying to achieve that no replicas of collection A exist on the same
host as a replica of collection B.

Using Solr7.6

Both are large collections/will become large collections and load on 1
should not impact the other in any way. They will both be queried heavily,
simultaneously.

So, I'm looking for a solution to that. Ideally, after the initial setup,
it would suffice to just add solr hosts, let zookeeper know about the new
host(s), it balances itself. Ideally.

I've been going over the following pages:

https://lucene.apache.org/solr/guide/7_6/migrate-to-policy-rule.html
https://lucene.apache.org/solr/guide/7_6/solrcloud-autoscaling-policy-preferences.html
https://lucene.apache.org/solr/guide/7_6/solrcloud-autoscaling-api.html

But I can't seem to find what I need. Or I'm just not understanding it
properly.

The collections already exist, I'm trying to find a command I can run, with
a specification in it, and once solr receives that, it starts re-arranging
things on its own.

It's probably just the case that I'm not properly understanding what's
required to properly orchestrate this.

Thanks in advance,
Koen De Groote