Hi,

I have 4 shard and 4 replica and I do Composite document routing for my unique 
field 'Id'  as mentions below.
e.g : projectId:158380 modelId:3606 where tenants bits use as 
projectId/Numbits!modelId/Numbits! prefix with Id

NumBits distributed as mention below
3 bits would spread the tenant over 1/8th of the collection.
2 bits would spread the tenant over 1/4th of the collection.
1 bit would spread the tenant  over 1/2 the collection.
0 bits would spread the tenant across the entire collection.

Query :  I have use projectId and ModelId as string and I have try with 1,1 & 
2,2 & 3,2 all combination but its distribute in  only single shard not in 
multiple shard

Can anyone please let me know why its indexing in single shard.


Please cast a vote for Asite in the 2017 Construction Computing Awards: Click 
here to Vote<http://caddealer.com/concompawards/index.php?page=cca2017vote>

[CC Award Winners!]

Reply via email to