If you’re already using java, just use the CloudSolrClient.
If you’re using the default router, (CompositeId) it’ll figure out the leaders
and send documents to the right place for you.
If you’re not using java, then I’d still look there for hints on how to
duplicate the functionality.
On
Hi,
I have a collection with 2 shards, 1 replica each.
When I send updates, I currently /admin/ping each of the nodes, and then
pick one at random.
I'm guessing it makes more sense to only send updates to one of the
leaders, so I'm contemplating getting the collection status instead, and
fi