Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.1
-
None
-
Linux, OSX, Erlang R13B
-
Regular Contributors Level (Easy to Medium)
Description
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").