-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.com/manual/tutorial/deploy-sharded-cluster-hashed-sharding/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
*Referrer*: https://docs.mongodb.com/manual/core/hashed-sharding/
*Screen Resolution*: 1440 x 900
*Location*: https://docs.mongodb.com/manual/tutorial/deploy-sharded-cluster-hashed-sharding/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 *Referrer*: https://docs.mongodb.com/manual/core/hashed-sharding/ *Screen Resolution*: 1440 x 900
-
0.1
The following entry at the bottom of the page looks incorrect. For hash based sharding the direction should be "hashed" as in other parts of the documentation.
sh.shardCollection("<database>.<collection>",
{ <key> : <direction> })