Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35124 invoked from network); 7 Sep 2010 22:18:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Sep 2010 22:18:59 -0000 Received: (qmail 47114 invoked by uid 500); 7 Sep 2010 22:18:59 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 46920 invoked by uid 500); 7 Sep 2010 22:18:58 -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 46905 invoked by uid 99); 7 Sep 2010 22:18:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 22:18:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 22:18:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o87MIYwh023378 for ; Tue, 7 Sep 2010 22:18:34 GMT Message-ID: <12788482.63501283897914180.JavaMail.jira@thor> Date: Tue, 7 Sep 2010 18:18:34 -0400 (EDT) From: "Jason Smith (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-881) Support reduce=false for map-only views since it is just a no-op MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Support reduce=false for map-only views since it is just a no-op ---------------------------------------------------------------- Key: COUCHDB-881 URL: https://issues.apache.org/jira/browse/COUCHDB-881 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 1.0.1 Environment: Linux, OSX, Erlang R13B Reporter: Jason Smith Priority: Minor Fix For: 1.0.1 Currently, a view with no reduce function defined disallows having a `reduce` parameter in the HTTP query. It would slightly simplify client code to always query views with reduce=false except when a reduction is actually desired. That way, views which have useful map-only and map-reduce output can be queried with the same reduce=false parameter. Currently, if one wants only the map results, one must know whether that view is map-only (reduce parameter should be omitted) or map-reduce (reduce parameter should be set to "false"). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.