We think it will be more valuable to improve the performance of $accumulator, than to change the implementation of MapReduce to use it internally.
Previous title and description:
Use $accumulator in MapReduce pipelines
Change how MapReduce generates its aggregation pipeline: use $accumulator instead of $_internalJsReduce. Then remove $_internalJsReduce.
We will have decided how to do the translation in the POC:
SERVER-45446
- depends on
-
SERVER-45447 Implement $accumulator
- Closed