I want to segment data based on a geographic area by following this guide by MongoDB, to make an application globally accessible with low-latency. The data should be segmented by using the shard key { country : 1, userid : 1 }, and different countries are assigned to a different shard. For example all documents from country = US, CA, MX should be stored on a specific shard.
However, I am not sure if I can benefit from this improved latency, if my queries don't include country. For example: will MongoDB be able to do a targeted read, if my query only contains the userid?
I think the documentation is quite clear: