wohali commented on issue #1204: view queries default to map unless a reduce is defined and then they run reduce URL: https://github.com/apache/couchdb/issues/1204#issuecomment-370855065 I would say it's better to mention this in the gentle intro to views [here](http://docs.couchdb.org/en/latest/ddocs/views/intro.html). If I had to guess at a reason, it might be because views are CouchDB's implementation of MapReduce, which suggests if both are defined, you want both. I don't think it warrants a call-out box in the API reference section, we already say: > reduce (boolean) ? Use the reduction function. Default is true when a reduce function is defined. With the increasing focus on Mango (and reduce coming soon to Mango) it might be best to ensure the user interface for Mango does something friendly and compatible here. /cc @tonysun83 @nickva
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
