Archive

Archive for the ‘database’ Category

MAP REDUCE using couchdb

February 18, 2014 Leave a comment

https://wiki.apache.org/couchdb/Introduction_to_CouchDB_views

http://guide.couchdb.org/draft/views.html

  • If you don’t use the key field in the map function, you are probably doing it wrong.
  • If you are trying to make a list of values unique in the reduce functions, you are probably doing it wrong.
  • If you don’t reduce your values to a single scalar value or a small fixed-sized object or array with a fixed number of scalar values of small sizes, you are probably doing it wrong.
Advertisements