Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit 2c8e18f

Browse files
Terreiinickva
authored andcommitted
Clarified mutual exclusivity in of filters /_replicate
The filters are the fields `doc_ids`, `filter`, and `selector`.
1 parent 42d5745 commit 2c8e18f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/api/server/common.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,14 @@
600600
:<json object create_target_params: An object that contains parameters
601601
to be used when creating the target database. Can include the
602602
standard ``q`` and ``n`` parameters.
603-
:<json array doc_ids: Array of document IDs to be synchronized
603+
:<json array doc_ids: Array of document IDs to be synchronized.
604+
``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
604605
:<json string filter: The name of a :ref:`filter function <filterfun>`.
606+
``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
605607
:<json json selector: A :ref:`selector <find/selectors>` to filter
606-
documents for synchronization.
608+
documents for synchronization. Has the same behavior as the
609+
:ref:`selector objects <selectorobj>` in replication documents.
610+
``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
607611
:<json string source_proxy: Address of a proxy server through which
608612
replication from the source should occur (protocol can be "http" or
609613
"socks5")

0 commit comments

Comments
 (0)