Have a question about shard splitting and compositeId usage. We are
starting a solr collection with X number of shards for our multi-tenant
application. We are assuming that the number of shards will increase over
time as the number of customers grows as well as the customer data.

We are thinking of using  the <customerId>/num!docId format to specify
multiple shards for my tenants depending on the number of records that we
will index. We will start with 4 shards and then my assumption is that we
use the shard split to add more shards to the collection.

customer size X = 1 shard and as such the compositeId would be
customer1!docId
customer size 5*X = 2 shards and as such the compositeId would be
customer2/1!docId

And now if I split the shards and the number of shards becomes 5, 6, 7, 8
what happens to the data? The point is I don't want the customer2 endup in
4 shards when we get to have 8 shards. If someone can shed some light here
I would appreciate it.

thanks,
hasmik

-- 

Hasmik Sarkezians

VP, Applications

M:

O:

E: hasmik.sarkezi...@zoominfo.com

805 Broadway Street, Suite 900
Vancouver, WA 98660

www.zoominfo.com




[image: Start Learning with Zoominfo!]
<https://signatures.zoominfo.com/uc/6228bfdaf1c5381fbaa4708b/c_604aad8859ca88009e007950/b_607da8e5f7d89f0025e881fa>

Reply via email to