I have a view, very simple:
function (doc, meta) {
if(doc.type == ‘tag’){
emit(meta.id, null);
}
}
Which renders just fine in the ‘development time subset’, but when I look at the full query data set, it doesn’t show anything. If I move it to production neither. I’ve tried to refresh a couple of times.
I do have a large set documents of this type, which also have an attribute ‘title’ that will contain a string of text. Could it be that some characters in those title strings are messing up the view/json representation? such as a single quote, for instance?
Also, any good method for debugging?
edit: fun fact; when indexing my tags design document, consisting of two views - it goes up to 45% and then stops silently.
edit: found some logs, not sure if helpful
lient-side error-report for user “wdev” on node ‘ns_1@192.168.178.132’:
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.10 Safari/537.36
Got unhandled error: Uncaught ReferenceError: ensureBucket is not defined
At: http://192.168.178.132:8091/js/cells.js:64
Backtrace:
Function: collectBacktraceViaCaller
Args:
Function: appOnError
Args:
“Uncaught ReferenceError: ensureBucket is not defined”
"http://192.168.178.132:8091/js/cells.js"
64
35
{}
(repeated 2 times) menelaus_web102 ns_1@192.168.178.132 09:09:47 - Wed Aug 21, 2013