I wish to pass Keys to Couchbase view via HTTP Post

Scenario:

I have Composite Keys in Bulk currently there are about 150 keys and would like to send it to my Couchbase view and retrive the matching records in bulk…
However, when I send the keys,
If the Keys count increase more than 97 it gives me a 0 result as output.
When I individually query the rest of the keys it works fine.

var result = cbClient.GetView( “Design”, “GetProducts”)
.Stale(StaleMode.False)
.Keys(productkeys)
.ToList();

Therefore, I doubt it to be the “url length issue”.
Thus, I wish to know if the keys can be posted to the Couchbase client API to use GetView and filter it by productkeys

Sudha -

This likely a bug, you can create a jira ticket here: http://www.couchbase.com/issues/browse/NCBC

If you can include a working sample as an attachment, that would help to figure out what is causing the issue. By creating a ticket, you will be sent updates as they happen.

Also, if you would like to dig a bit deeper and perhaps submit a patch, please do so as a pull request here: https://github.com/couchbase/couchbase-net-client

Thanks,

Jeff

Hello @Sudha did you ever find a solution to this issue?

I face something remotely similar using BeginKey and EndKey.

Sudha -

I opened up a Jira ticket to investigate this: http://www.couchbase.com/issues/browse/NCBC-686

If you wish to follow the progress and yourself as a watcher.

Thanks,

Jeff