You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Koen De Groote <kd...@gmail.com> on 2022/09/08 17:03:42 UTC

Trigger or auto-enforcing of cluster policy?

Hello everyone,

I recently set up the following system:

2 hosts, with each 2 docker containers for Solr. The first has a high JVM
for a single core that requires a lot. The second has lower JVM for a few
cores that need to exist but are not heavily used, nor have a lot of
documents.

I was researching replication placement, found out about cluster policies
and experimented until I got it right.

I expected the policy to mean that the replicas got moved to where they
policy dictated they needed to be. Instead, I saw in the admin UI that I
was getting suggestions, based on policy violations.

Once I executed the suggested actions, the replicas were placed as I
expected.

But now I'm wondering how I can make this automatic. I'm reading about
Triggers, but that doesn't seem to be my use case. I want to achieve that,
if I change policy, the cluster automatically follows that policy.

Is that possible?

Regards,
Koen De Groote