incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Caprari <matteo.capr...@gmail.com>
Subject scaling dimensions in reduce
Date Tue, 08 Dec 2009 20:50:25 GMT
Hello.

Given a database where each document represents a data point
(something like {date:'2001-01-01', amount:34000}),
I'd like to have a view where the numeric values are scaled to a number.

To scale the values I'need to know the maximum point,  and I think
it'not possible to do that with map/reduce.

Is this correct? Is there any other solution?

Thanks!
--
:Matteo Caprari
matteo.caprari@gmail.com

Mime
View raw message