Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD6D010B38 for ; Tue, 9 Jul 2013 19:17:52 +0000 (UTC) Received: (qmail 27252 invoked by uid 500); 9 Jul 2013 19:17:51 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 27092 invoked by uid 500); 9 Jul 2013 19:17:51 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 26947 invoked by uid 99); 9 Jul 2013 19:17:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 19:17:49 +0000 Date: Tue, 9 Jul 2013 19:17:49 +0000 (UTC) From: "Nathan Vander Wilt (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1850) Documentation missing view emit _id/_rev tricks for ?include_docs=true details MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Nathan Vander Wilt created COUCHDB-1850: ------------------------------------------- Summary: Documentation missing view emit _id/_rev tricks for ?= include_docs=3Dtrue details Key: COUCHDB-1850 URL: https://issues.apache.org/jira/browse/COUCHDB-1850 Project: CouchDB Issue Type: Bug Components: Documentation Reporter: Nathan Vander Wilt Both the wiki and the official documentation are missing the indirect "join= " fetch possible via include_docs when the view emits *another* doc's _id e= .g. http://stackoverflow.com/a/6059447/179583, http://stackoverflow.com/a/3= 035522/179583, http://stackoverflow.com/a/2683228/179583 =E2=80=94 apparent= ly this was only in the release notes and/or on the Couchbase blog at one t= ime. Also the official documentation is missing a complete explanation of this n= ote in the wiki: "If you want to alleviate [stale view vs database inconsistency] concerns y= ou should emit an object with a _rev attribute as in emit(key, {"_rev": doc= ._rev})." =E2=80=94 http://wiki.apache.org/couchdb/HTTP_view_API#Querying_O= ptions Will this cause the old rev to be fetched? What if it's no longer available= ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira