MongoDB的mapreduce使用问题
BSONObj DBClientWithCommands::mapreduce(const string &ns, const string &jsmapf, const string &jsreducef, BSONObj query, MROutput output);
{ result : <collection_name>, numObjects : <number_of_objects_scanned>, timeMillis : <job_time>, ok : <1_if_ok>, [, err : <errmsg_if_error>] }{ "serverUsed" : "localhost:27017" , "result" : [ { "_id" : "KSFO" , "avgTemp" : 249.5}] , "ok" : 1.0}
[解决办法]
http://www.cnblogs.com/daizhj/archive/2010/06/10/1755761.html