You need to reconfigure CouchDB to disable this restriction.
The first way using curl:
curl -X PUT http://localhost:5984/_config/query_server_config/reduce_limit -d '"false"' -H "Content-Type: application/json"
The second is through a modification of the local.ini configuration. Just add or change the section as shown below and restart the CouchDB service:
[query_server_config] reduce_limit = false
The third is through the Futon configuration page. I suppose you already guessed which parameter should be changed there (;
But in most cases, this restriction is reasonable, since the reduction function should reduce the output, and not increase it - work with the display function. For debugging reasons, it is better to enable debug logs - they are really detailed and can display the display / decrease / output of any function.
source share