You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2019/10/25 11:50:07 UTC

[couchdb-documentation] branch autoupdate created (now c29ad1b)

This is an automated email from the ASF dual-hosted git repository.

willholley pushed a change to branch autoupdate
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.


      at c29ad1b  Add autoupdate field to design docs API

This branch includes the following new commits:

     new c29ad1b  Add autoupdate field to design docs API

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb-documentation] 01/01: Add autoupdate field to design docs API

Posted by wi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

willholley pushed a commit to branch autoupdate
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit c29ad1bba23aaf672decaf0f1489303792ff20a8
Author: Will Holley <wi...@gmail.com>
AuthorDate: Fri Oct 25 12:47:00 2019 +0100

    Add autoupdate field to design docs API
    
    Background indexing in CouchDB can be controlled on a
    per-design document basis. This documents the option to
    disable automatic indexing by specifying `autoupdate: false`
    as a top level field in a design document.
---
 src/api/ddoc/common.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/api/ddoc/common.rst b/src/api/ddoc/common.rst
index 68da199..31673d7 100644
--- a/src/api/ddoc/common.rst
+++ b/src/api/ddoc/common.rst
@@ -57,6 +57,8 @@
     * **validate_doc_update** (*string*): :ref:`Validate document update
       <vdufun>` function source
     * **views** (*object*): :ref:`View functions <viewfun>` definition.
+    * **autoupdate** (*boolean*): Indicates whether to automatically build
+      indexes defined in this design document. Default is `true`.
 
     Note, that for ``filters``, ``lists``, ``shows`` and ``updates`` fields
     objects are mapping of function name to string function source code. For