Re: [DISCUSS] Deprecate custom reduce functions

2020-10-15 Thread Jonathan Hall
I'd like to read some clarifying comments about _why_ we want to disable it by default. Maybe they've already been made, and I missed them. I gather that we perceive (probably rightfully so) that most custom reduce functions are poorly written, and hurt performance. Is this the primary/only

Re: [DISCUSS] Deprecate custom reduce functions

2020-10-15 Thread Jonathan Hall
TIL! That would indeed solve my biggest use case, with some slightly tweaked `map` functions. Jonathan On 10/13/20 10:10 PM, Robert Samuel Newson wrote: Hi, Actually you don't need more than the built-in _sum. consider; map: function(doc) { emit(doc.key, [doc.foo, doc.bar, doc.baz]);