Skip to content

DOCS-2225: Mention size limit of reduce #1998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/includes/parameters-map-reduce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ The ``reduce`` function exhibits the following behaviors:
- The ``reduce`` function can access the variables defined
in the ``scope`` parameter.

- The inputs to ``reduce`` must not be larger than half of MongoDB's
:ref:`maximum BSON document size <limit-bson-document-size>`. This
requirement may be violated when large documents are returned and then
joined together in subsequent ``reduce`` steps.

Because it is possible to invoke the ``reduce`` function
more than once for the same key, the following
properties need to be true:
Expand Down