On Mon, Aug 30, 2010 at 10:01, Jason Smith <j...@couch.io> wrote: > I propose a minor change to validation: a simple check is made to > determine if the extra parameter would result in a no-op. If so, no > exception is thrown. Therefore: > > map view, reduce=false -> Allowed > map view, reduce=true -> query_parse_error > map view, group or group_level -> no change to today's behavior > map/reduce view -> no change to today's behavior > > (It can't be known at query time whether group and group_level no-op. > In general they do not. Therefore the client must explicitly get it > right.) > > If this is acceptable, I will submit the patch to JIRA. Thank you.
Sounds awesome. I filed https://issues.apache.org/jira/browse/COUCHDB-845 about similar issues. Cheers, Dirkjan