[SERVER-5769] Map/reduce documentation is incorrect regarding sharding Created: 06/May/12  Updated: 15/Aug/12  Resolved: 07/May/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Kevin Baca Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The docs for map reduce read:

{ sharded : 1}

- MongoDB 1.9+ If true and combined with an output mode that writes to a collection, the output collection will be sharded using the _id field. See details in the sharding section

However, the value for "sharded" must be true, not 1.

Thanks,
Kevin



 Comments   
Comment by auto [ 07/May/12 ]

Author:

{u'login': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-5769 map reduce sharded output syntax correction
Branch: master
https://github.com/mongodb/docs/commit/594032febc425df1a2b28b804a013604a5e912f7

Generated at Thu Feb 08 03:09:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.