view query keys size limit

Hi,

We make pretty heavy use of views and in particular the multi-get form of query:

view.query(design,view,keys=[key1,key2,key3])

It looks like this is very length limited, so that we can only supply from 50-100 keys, depending on the length of the keys supplied. The limitation must be on the query side, as a query with no keys parameter can pull down millions of documents with no problem. Is this a limitation that can be configured or altered in any way? Is there an alternative way to make this kind of query that get's around this limitation?

Thanks,
Nate

2 Answers

« Back to question.

Version 1.1.0 has been released. This should fix this issue

« Back to question.

Other than digging into the internal low level '_http_request' method, this is broken in 1.0.0.

There's a bug and an associated fix related for this, see:

http://www.couchbase.com/issues/browse/PYCBC-193

This fix should make its way in 1.1.0 which will be released soon.

Great news! I'll look for the upcoming fix.

Nate