You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2021/08/18 03:17:57 UTC
[couchdb-documentation] 02/03: Clarified mutual exclusivity in of
filters /_replicate
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit 2c8e18f740dfa68e5dd36adc2dae35c2ab697d61
Author: Christopher Astfalk <ch...@icloud.com>
AuthorDate: Tue Aug 17 18:59:24 2021 +0200
Clarified mutual exclusivity in of filters /_replicate
The filters are the fields `doc_ids`, `filter`, and `selector`.
---
src/api/server/common.rst | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/api/server/common.rst b/src/api/server/common.rst
index d5c00e6..f4d8a71 100644
--- a/src/api/server/common.rst
+++ b/src/api/server/common.rst
@@ -600,10 +600,14 @@
:<json object create_target_params: An object that contains parameters
to be used when creating the target database. Can include the
standard ``q`` and ``n`` parameters.
- :<json array doc_ids: Array of document IDs to be synchronized
+ :<json array doc_ids: Array of document IDs to be synchronized.
+ ``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
:<json string filter: The name of a :ref:`filter function <filterfun>`.
+ ``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
:<json json selector: A :ref:`selector <find/selectors>` to filter
- documents for synchronization.
+ documents for synchronization. Has the same behavior as the
+ :ref:`selector objects <selectorobj>` in replication documents.
+ ``doc_ids``, ``filter``, and ``selector`` mutually exclusive.
:<json string source_proxy: Address of a proxy server through which
replication from the source should occur (protocol can be "http" or
"socks5")