File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,28 @@ an example source connector configuration file, see
216
216
| **Default**: 16000
217
217
| **Accepted Values**: An integer
218
218
219
+ * - copy.existing.pipeline
220
+ - list
221
+ - | An array of JSON objects describing the :manual:`pipeline operations
222
+ </core/aggregation-pipeline/>` to run when copying existing data.
223
+ This can improve the use of indexes by the copying manager and
224
+ make copying more efficient.
225
+
226
+ .. example::
227
+
228
+ In the following example, the :manual:`$match
229
+ </reference/operator/aggregation/match/>` aggregation operator
230
+ ensures that only documents in which the ``closed`` field is
231
+ set to ``false`` are copied.
232
+
233
+ .. code-block:: none
234
+
235
+ copy.existing.pipeline=[ { "$match": { "closed": "false" } } ]
236
+
237
+ |
238
+ | **Default**: ""
239
+ | **Accepted Values**: Valid aggregation pipeline stages
240
+
219
241
* - errors.tolerance
220
242
- string
221
243
- | Whether to continue processing messages if an error is encountered.
You can’t perform that action at this time.
0 commit comments