-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: MapReduce
-
None
-
Query
This is a follow up to a support thread: http://groups.google.com/group/mongodb-user/browse_thread/thread/7e1f16c81940c24b
Please allow mapReduce jobs to optionally return full documents instead of placing the result into the value field.
The _id of the documents would be the reduction key, but the returned value from reduce (or finalize) would be required to be a hash. This makes working with a permanent collection generated by a map/reduce job much nicer.
I suggest that a new out option be added:
out:
{document: 1}- duplicates
-
SERVER-1031 Allow user to choose whether to wrap MapReduce results inside "value"-attribute of result
- Closed
- is duplicated by
-
SERVER-1336 finalize in MR should modify whole object, not just value field
- Closed
- related to
-
SERVER-40429 Add $merge stage to write output to existing collection
- Closed