Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

isanfulia's picture
Asked 1 day 7 hours ago

Querying Views using a POST request instead of GET (key limit)

Hi all,

I was trying to query view with many keys(around 20K) using the Java api but this results in exception. The reason I think is because the query is fired as a GET request which has the limit on the number of characters in the URL. Is there a way to do a POST request on view using...

sivailango.s's picture
Asked 2 days 11 hours ago

Sort by particular field rather than key

Hi,

- I have the documents which has 'order' field. I have to get all records sort by order field.
- User id 3 has more document like below, each has 'order'. Now i want to get all documents by the userId with sort by order. Now i could get all documents of userId is 3....

avinash786's picture
Asked 6 days 20 hours ago

Java sdk apis

I need to get all the buckets through java sdk but there is no way to get it.
I know there are ways to get all the buckets through rest APIs.
I just wanted to know , is there any specific reason for not providing the apis for it?
Same applies to get the design document as well...

avinash786's picture
Asked 6 days 20 hours ago
Latest activity 6 days 11 hours ago

Couchbase java sdk 2.0.0

Hi Folks,

What is the tentative date to release/beta java sdk 2.0.0. I am eagerly waiting for it.

Regards,
Avinash

taraka's picture
Asked 1 week 3 days ago
Latest activity 1 week 2 days ago

com.couchbase.client.vbucket.BucketUpdateResponseHandler exceptionCaught: Connection reset by peer

Hello,

I have a "connection reset" problem after connecting to couchbase through Java Couchbase client.

Our production configuration :
Tomcat server connecting to couchbase cluster (2 nodes) over firewall. All are hosted in rackspace.

First time it connects fine !!...

sumit_jain's picture
Asked 1 week 3 days ago
Latest activity 1 week 3 days ago

Update Design Document Java SDK

There are methods to create, get and delete design documents, but there is no update. How can I add new views to an existing design document.

array's picture
Asked 2 weeks 1 day ago
Latest activity 2 weeks 13 hours ago

Bulk Upload using Java API In couchbase server

We have requirement to load 240K data using Java API during server startup. If we use set method then I am facing data loss as async process.Total records it shows 15K only. If I put one milli sec sleep after each insert then it working fine but take huge amount of time. If i use set(key,value)....

Hao Liu's picture
Asked 2 weeks 2 days ago
Latest activity 1 week 1 day ago

Does CouchbaseClient.Query take a snapshot of the data?

Say I have a view with a reduce function that gives count of documents, and I get a ViewResponse by calling client.Query() with includeDocs set to true. Then I iterate the ViewResponse and use the count got from the view. Can I iterate the same ViewResponse object again sometime later to stamp a...

skyblue789's picture
Asked 2 weeks 2 days ago

Query based on a variable

I want to query couchbase on value of particular field. So, We have json documents called User in couchbase, and we want to get all User objects having name like "Smith". The value "Smith" is a variable and injected by the user at run time. How can I send this variable to couchbase Map function...

urbangroove's picture
Asked 3 weeks 16 hours ago
Latest activity 2 weeks 2 days ago

Couchbase indexing with Apache Storm

Hello,

I am planning to use Couchbase with Apache Storm. Since Storm inserts data into Couchbase heavily(i.e. 2~3k updates or inserts per second), view's indexing also keeps updated and restarted endlessly with the default auto-indexing settings. So querying with stale=false is always...

Pages