Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

array's picture
Asked 1 month 1 week ago
Latest activity 1 month 6 days 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 1 month 1 week ago
Latest activity 1 month 11 hours 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 1 month 1 week 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 1 month 1 week ago
Latest activity 1 month 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 1 month 2 weeks ago
Latest activity 1 month 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 1 month 4 weeks ago
Latest activity 1 month 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 2 months 6 days ago
Latest activity 1 month 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 2 months 6 days ago
Latest activity 1 month 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 2 months 1 week ago
Latest activity 1 month 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 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.

Pages