Can you share more please?
i do not know how exactly is formula for calculating ratio.

if you have something like: (term count in shard 1 + term count in shard 2) / num documents in all shards

then just use shard size as weight while computing this:

(term count in shard 1 * shard1 keyspace size + term count in shard 2 * shard2 keyspace size) / (num documents in all shards * all shards keyspace size)

Reply via email to