Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

Hao Liu's picture
Asked 2 months 1 week ago
Latest activity 1 month 4 weeks 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 months 1 week ago
Latest activity 3 weeks 4 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 2 months 1 week ago
Latest activity 2 months 1 week 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...

boldt's picture
Asked 2 months 2 weeks ago
Latest activity 2 months 1 week ago

strange problems with increment

Hi,

I'm running the following code on couchbase 2.5.1 and java sdk versions 1.3.2 and 1.4.2

    	bucket.couchbaseClient.set
...
kprichards's picture
Asked 2 months 4 weeks ago
Latest activity 2 months 1 week ago

Query about obsPollInterval, maxReconnectDelay and MinReconnectInterval

Hi,

I am evaluating couchbase for some of my usecases. I am using the couchbase-client-1.4.2.jar.

a) I would like to know the default values for the following properties used by CouchbaseConnectionFactoryBuilder class:

1. obsPollInterval
2. maxReconnectDelay

I...

sivailango.s's picture
Asked 3 months 5 days ago
Latest activity 2 months 1 week ago

Autogenerated key value

Everytime i have to set key value to insert documents. Is there anyway to setup auto generated key in couchbase with Java sdk?

sivailango.s's picture
Asked 3 months 5 days ago
Latest activity 2 months 1 week ago

Document not inserted immediately

I am using couchbase with Play framework (2.2.3). I have created simple web app. Whenever i added a new document into couchbase, the result set would not get updated immediately. So i googling about it. I got some ideas with Stale option. But still it did not work. Here i pasted my code,...

kevin8zhai's picture
Asked 3 months 6 days ago
Latest activity 2 months 1 week ago

how to solve the conflict of netty version ?

My project use netty-4.0.18,but the java client of Couchbase use netty-3.5.5.
How to solve the conflict?
Please help me,tks.

kevin8zhai's picture
Asked 3 months 6 days ago

how to solve the conflict of netty version ?

My project use netty-4.0.18,but the java client of Couchbase use netty-3.5.5.
How to solve the conflict?
Please help me,tks.

adamhonen's picture
Asked 3 months 1 week ago
Latest activity 2 months 1 week ago

Is the 2.0 developer preview Java client supposed to support CAS values?

I wanted to see what happens when replace fails due to CAS value, so I executed a fast batch of several dozens of replace requests for the same document, but all with the same CAS value.

The expected result was that only the first would succeed, but instead, all replace operations work....

Pages