I have read about the indexer_max_doc_size, max_kv_size_per_doc and function_timeout settings in DOC-40. I want to actual change this setting, since a few of my documents are hitting this limits.
I have set them to 0 in /opt/couchbase/etc/couchdb/default.ini and /opt/couchbase/etc/couchdb/local.ini and restarted the Couchbase server.
[mapreduce]
max_kv_size_per_doc = 0
function_timeout = 0
[set_views]
indexer_max_doc_size = 0
I have also changed them via a call to /diag/eval
curl -v -X POST -u usesrname:password http://hostname:8091/diag/eval -d 'ns_config:set({couchdb, 'indexer_max_doc_size'}, 0)'
However I’m getting the errors in my logs and the empty results when requesting the view:
main group _design/city
, error mapping document city::209057
for view costs
: too much data emitted: 1114312 bytes
Any suggestions how I can change these settings? Thanks!