couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Smith (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-881) Support reduce=false for map-only views since it is just a no-op
Date Tue, 07 Sep 2010 22:20:33 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Smith updated COUCHDB-881:
--------------------------------

    Attachment: 0001-Explicit-confirmation-of-query_parse_error-for-group.patch

Patch 1/2, also in http://github.com/jhs/couchdb/tree/reduce_false, which simply adds a couple
tests to make them more explicit/thorough.

> 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
>
>         Attachments: 0001-Explicit-confirmation-of-query_parse_error-for-group.patch,
0002-Permit-reduce-false-in-map-views-since-that-is-just-.patch
>
>
> 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.


Mime
View raw message