CouchDB Incremental Reduce

I just checked in the first cut of incremental reduce for CouchDB into the Apache repository. So right now it allows you do a full reduction of all view values between the optional start key or end key. The cost of both view update and query time is logarithmic cost.

What's missing is the ability group reductions, such that if there are 100 rows with 5 different keys between the start and end key, you can optionally get 5 different reduced values instead of a single value. I'll probably check that piece in next week. A few more bug fixes and interface changes and we'll finalize the 0.8.0 release hopefully next week.

Posted May 15, 2008 5:58 PM