couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Introduction to CouchDB views" by RobertNewson
Date Sun, 30 Aug 2009 17:08:24 GMT
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''.

Mime
View raw message