[DOCS-1586] Comment on: "manual/tutorial/map-reduce-examples.txt" Created: 08/Jun/13  Updated: 03/Nov/17  Resolved: 10/Jun/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB map reduce frm shell

Location: http://docs.mongodb.org/manual/tutorial/map-reduce-examples/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
Referrer: http://docs.mongodb.org/manual/core/map-reduce/
Screen Resolution: 1366 x 768
repo: docs
source: tutorial/map-reduce-examples


Participants:
Days since reply: 10 years, 36 weeks, 1 day ago

 Description   

Hi,

I was learning Map-Reduce on MongoDB. Here I have seen a small problem -
There is one line in

Point No 4.

db.orders.mapReduce( mapFunc2,
reduceFunc2,
{
out:

{ merge: "map_reduce_example" }

,
query: { ord_date:

{ $gt: new Date('01/01/2012') }

},
finalize: finalizeFunc2
}
)

Which should be

db.orders.mapReduce( mapFunction2,
reduceFunc2,
{
out:

{ merge: "map_reduce_example" }

,
query: { ord_date:

{ $gt: new Date('01/01/2012') }

},
finalize: finalizeFunc2
}
)

to be in-line with Point No 1.

Please correct me, if I am wrong.

Thanks & regards



 Comments   
Comment by auto [ 11/Jun/13 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1586 fix map reduce function names in second example

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/70e0959f3884a74d7055049d9ee6a13f00b5862c

Generated at Thu Feb 08 07:41:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.