lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kolar <...@filez.com>
Subject Re: add shard to index
Date Mon, 15 Oct 2012 08:05:58 GMT

> 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)

Mime
View raw message