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

Maximillian Dornseif updated COUCHDB-185:
-----------------------------------------

    Attachment: group-drop-warning.patch

This is a crude implementation of logging a message when group=true is set on 
map-only views.

> group=true is silently dropped in non-reduce views
> --------------------------------------------------
>
>                 Key: COUCHDB-185
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-185
>             Project: CouchDB
>          Issue Type: Improvement
>    Affects Versions: 0.9
>            Reporter: Maximillian Dornseif
>            Priority: Trivial
>         Attachments: group-drop-warning.patch
>
>
> If you query a view without a reduce() function and pass group=true the group 
> parameter is ignored. This does certainly not follow the principle of least 
> astonishment.
> One might argue, that requesting grouping on something without reduce is 
> generally an error and thus should result in an HTTP error, but this might 
> break to much existing code.
> But at least the fact, that the parameter was ignored should be logged.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to