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 82AFB10B41 for ; Thu, 18 Jul 2013 01:07:19 +0000 (UTC) Received: (qmail 87848 invoked by uid 500); 18 Jul 2013 01:07:19 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87814 invoked by uid 500); 18 Jul 2013 01:07:19 -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 87806 invoked by uid 99); 18 Jul 2013 01:07:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 01:07:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kxepal@gmail.com designates 209.85.212.181 as permitted sender) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 01:07:11 +0000 Received: by mail-wi0-f181.google.com with SMTP id hq4so2629614wib.14 for ; Wed, 17 Jul 2013 18:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wB/whKen7YX+dRMrDPyTc+1Ib8UkwG5VPKtDp0E8+4Q=; b=ciGFe2/7pkP7/ynMYr1s5hOTg7PoMUI0KmqZsag3Ro77YYx2gO5f1X/CYn74YgXO3/ n8JpDbNNqQphDqdpEEs5M/lwTRp2H5vIZiRYa330KoCx8yG9R4ZtmXt54yS5UTjDu3h0 WtdBzW4LZ/ZEXohBg0pXiWZiFMSARQmvdosDrwF0mIQjFf795rQ0SDNgyGZ25Whlvx1E nQ2Br1WZoTt9/lbiWd2UfOQQdaJWueUm1E3sqo1ebaVdgT4pEAwHcFRI8+XvL/1qaYH+ mxA7LDktcKu5mNDVnANNgAsCmAFWMAAv0+m8Wy3NLyi2fJ8ZaQVQ2pFUjTk60OX0AgKS hsrQ== MIME-Version: 1.0 X-Received: by 10.180.104.10 with SMTP id ga10mr5797035wib.35.1374109610671; Wed, 17 Jul 2013 18:06:50 -0700 (PDT) Received: by 10.180.98.10 with HTTP; Wed, 17 Jul 2013 18:06:50 -0700 (PDT) Date: Thu, 18 Jul 2013 05:06:50 +0400 Message-ID: Subject: [PROPOSAL][PATCH] COUCHDB-1139: _list functions with _all_docs From: Alexander Shorin To: "dev@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'd made patch of issue COUCHDB-1139 and like to get it into 1.4 release. It's a bit trivial fix, but provides very helpful feature to pass _all_docs view results through _list functions. Currently, there is no such possibility unless user creates his own view that mimics to _all_docs, but this is ineffective disk space usage. Bonus feature: _all_docs emits design documents too (regular views doesn't) so this may be helpful improvement for couchapp tools that operates with design documents. Bonus bug: your current list functions may not be ready to handle design documents (: But you need to do explicit HTTP request to face it. Issue: https://issues.apache.org/jira/browse/COUCHDB-1139 Patch: https://issues.apache.org/jira/secure/attachment/12591593/COUCHDB-1139.patch -- ,,,^..^,,,