couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: disable reduce_limit
Date Wed, 19 Feb 2014 15:44:59 GMT
That's mean for if you're accumulating numbers and hitting the reduce
limit. Coalescing map results into an object is pretty standard bad
behavior. We allow you to disable the warnings but its not what we'd
call a good reduce function.

On Wed, Feb 19, 2014 at 9:11 AM, rohit12sh . <rohit12sh@gmail.com> wrote:
> I am creating a view with Reduce function returning grouped Map results in
> JSON object. Clearly, I am exceeding the expected return (non-scalar) value
> by Reduce function. And getting "reduce_overflow_error". I have to set the
> reduce_limit to FALSE in order to avoid the error and make my view work.
>
> When I was making the change in 'default.ini' I read a comment there that
> "If you think you're hitting reduce_limit with a "good" reduce function,
> please let us know on the mailing list so we can fine tune the heuristic"
>
> Please advise what needs to be done here.
>
> --
> Regards,
> Rohit Sharma

Mime
View raw message