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

Comment on: "manual/reference/command/mapReduce.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server

    Description

      MongoDB 2.4.6 only run map-reduce with db.runCommand(

      { mapreduce: 'test', ...}

      ), not with the documentation suggested uppercase spelling: "mapReduce"

      mongos> db.test.runCommand(

      { mapReduce: 'test', ... , out: 'inline' }

      );

      { "ok" : 0, "errmsg" : "no such cmd: mapReduce" }

      mongos> db.test.runCommand(

      { mapreduce: 'test', ... , out: 'inline' }

      );

      { ... "ok" : 1 }

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 16 weeks ago