I'm trying to run a temporary view on a big-ish db (> 1000 docs). I realize
temporary views are slow, but the view seems to hang forever. The view I'm
running:

# map function
function(doc) {
  emit(doc, doc.tweets);
}


# reduce function
function(keys, values, rereduce) {
var arr, sum = 0;
for (arr in values) {
sum = sum + arr.length || 1;
}
return sum;
}

In my logs, I keep seeing lines like this, over and over and over again:

[Sun, 30 Nov 2014 00:15:33 GMT] [debug] [<0.16471.7>] OS Process
#Port<0.162087> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]


I'm not sure if this is to be expected, and my view is just taking a really
long time, or if there's something wrong with my view or settings.



Thanks,

-sam

Reply via email to