i see value in view has exceeded 1 mb size (it 1.7 mb) , thereby not getting emitted in views. have tried change values of max_kv_size_per_doc in default.ini (then restarted couchbase) still value not getting emitted.
could please suggest workaround?
yes: dont emit documents in views - not recommended practice. in fact, emitting docs in views you're creating copy of doc on storage (== bad). 100 docs + view returns them = 200 docs's space.
instead, emit keys docs , retrieve them after results view. or emit part of doc need (if smallish).
edit: i'm guessing havn't tried "include_docs" options? should attach complete doc results without creating duplicate.
Comments
Post a Comment