Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/core/2dsphere/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
*Referrer*: http://docs.mongodb.org/manual/core/2d/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: core/2dsphere
*Location*: http://docs.mongodb.org/manual/core/2dsphere/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31 *Referrer*: http://docs.mongodb.org/manual/core/2d/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: core/2dsphere
Description
This page says:
Important: You cannot use a 2d index as a shard key when sharding a collection. However, you can create and maintain a geospatial index on a sharded collection by using a different field as the shard key.
Should this be about 2dsphere indexes instead?
Check if this is just a typo and the same applies for 2dsphere indexes, or if this is a copy&paste error and the limitation does not apply to 2dsphere, in which case the sentence needs to be removed.