Skip to content

Commit e9d0af1

Browse files
DOCSP-27804 add mapReduce Limitation (#117)
* DOCSP-27804 Adds mapReduce to limitation * Adjusts text * Adjusts text * Adjusts text * Update source/includes/limitations-filtering.rst Co-authored-by: Alison Huh <[email protected]> * Fixes per Ali * Fixes per Ali * Fixes per Ali * Fixes per Ali * Fixes per Ali --------- Co-authored-by: Alison Huh <[email protected]>
1 parent 06f9702 commit e9d0af1

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

source/includes/limitations-filtering.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
- If a filter includes a :ref:`view <views-landing-page>` but not the
1212
base collection, only the view is replicated.
1313
- You cannot specify system collections or system databases in a filter.
14-
- Operations that use the :pipeline:`$out` aggregation stage are only
15-
supported if the entire database is specified in the filter. You
16-
cannot limit the filter to a collection within the database. See:
17-
:ref:`c2c-filter-with-out`.
14+
- To use the :pipeline:`$out` aggregation stage or the :dbcommand:`mapReduce`
15+
command (when set to create or replace a collection) with filtering,
16+
you must configure the filter to use the entire database.
17+
You cannot limit the filter to collections within the database.
18+
19+
For more information, see :ref:`c2c-filter-with-out`.
1820

source/reference/collection-level-filtering.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,14 @@ See the :ref:`renaming examples <c2c-example-rename-while-syncing>`.
186186

187187
.. _c2c-filter-with-out:
188188

189-
Filtering with $out
190-
-------------------
189+
Filtering with mapReduce and $out
190+
---------------------------------
191191

192-
The :ref:`$out <agg-out>` aggregation stage creates a new collection
193-
when it runs. You can use the ``$out`` stage with filtering if you are
194-
filtering on the whole database and not just the collection specified in
195-
the ``$out`` statement.
192+
To use the :pipeline:`$out` aggregation stage or
193+
the :dbcommand:`mapReduce` command (when set to create
194+
or replace a collection) with filtering, you must
195+
filter the whole database and not just
196+
the specified collection.
196197

197198
For example, consider this aggregation pipeline:
198199

@@ -219,7 +220,7 @@ This filter works:
219220
}
220221
]
221222

222-
This filter does not work with ``$out``:
223+
This filter does not work:
223224

224225
.. code-block:: json
225226

0 commit comments

Comments
 (0)