Great!

Currently there are only three built-in funs (which I documented here: 
http://wiki.apache.org/couchdb/Built-In_Reduce_Functions ).

If raw performance is important for you, you could also consider using native 
erlang views (instead of using javascript).


On 11.05.2010, at 11:16, Manokaran K wrote:

> On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen <
> [email protected]> wrote:
> 
>> _sum
>> 
>> instead of
>> 
>>> function(keys, values, rereduce){
>>>     return sum(values);
>>> }
>> 
>> I think the wiki is missing some information on build-in reduce functions.
>> I'll add this today.
>> 
>> 
> Thanks a ton :-)
> 
> The improvement was dramatic. What took close to 3 hours took just 20 mins
> using _sum!!
> 
> Waiting to see what other tricks are  available.
> 
> regds
> mano

Reply via email to