You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/30 19:08:24 UTC
[Couchdb Wiki] Update of "Introduction to CouchDB views" by RobertNewson
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by RobertNewson:
http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views
The comment on the change is:
add anchor to reduce functions
------------------------------------------------------------------------------
}
}}}
+
+ [[Anchor(reduce_functions)]]
=== Reduce Functions ===
If a view has a reduce function, it is used to produce aggregate results for that view. A reduce function is passed a set of intermediate values and combines them to a single value. Reduce functions must accept, as input, results emitted by its corresponding map function '''as well as results returned by the reduce function itself'''. The latter case is referred to as a ''rereduce''.