View result count is vary

Hi,

One of my bucket has 61 million records. But below view code returning only 58K records

function (doc, meta) {
emit(meta.id, doc);
}

/_design/dev_test/_view/test?stale=false&inclusive_end=true&connection_timeout=60000&limit=10000000&skip=0

That’s normal because you’re using a dev_ bucket. Publish it to production and any queries there will go to all of the documents. Or, in the UI, you can click on “full set”.

See the documentation for more info.

H ingenthr,

I just noticed that. Thanks for your quick response.

Thanks