Query View by Keys Size Limit issue


#1

Couchbase team,
I am using couchbase-client-1.4.4.jar for my application. I am trying to query the view by passing 50keys. As I cant expose the real key here, i modified the key value to some generic values. Key structure is similar to:
[[“CATEGORY NAME”,“DIMENSION”,“DIMENSION TYPE”,“DIMENSION VALUE 1”,“JOB TYPE”],[“CATEGORY NAME”,“DIMENSION”,“DIMENSION TYPE”,“DIMENSION VALUE 2”,“JOB TYPE”],[“CATEGORY NAME”,“DIMENSION”,“DIMENSION TYPE”,“DIMENSION VALUE 3”,“JOB TYPE”]…]

I am getting the Timedout error if I pass 50keys. And getting the result successfully if i reduce the key size to 49keys. I gone through the web and found that there are limit in the key size(4096 bytes). Can you please let me know how to calculate the key length, and please suggest me how to maintain the key size limit in my application.

Thanks
Ismail