Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1586

Comment on: "manual/tutorial/map-reduce-examples.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    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

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 36 weeks, 1 day ago