SCdF commented on issue #1204: view queries default to map unless a reduce is 
defined and then they run reduce
   I also found this very confusing. I think because (at least for me) the vast 
majority of view usage is without a corresponding reduce, it's not something 
that you come across much, and it's a pretty radical change that is only 
passively documented in the query param list.
   I think it might be worth modifying the documentation to pull this effect[1] 
into a warning documentation block to highlight it, and include an explanation 
to get everyone on the same page.
   Something like:
   > **Warning**
   > By default, querying a view runs its reduce function if it has one. This 
can be confusing if you are used to just using map functions, and are adding a 
reduce function to an existing view. This happens because <explanation goes 
here />
   [1] That all view queries automatically become reduce queries when you add a 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to