Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
MikeOliverAZ's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

storing document with key string but not finding it

Ok I am using the couchbase client in a couchbase bucket.

I have a pojo that is serializable. Everything is working fine, the document is stored but not where I thought it would.

client is initialized to localhost default bucket.

...
pd80120's picture
Asked 5 months 1 week ago

XDCR on Openstack

I'm configuring CB Server 2.2.0 XDCR between two different Openstack installations. I've done some reading on using a DNS FQDN trick in the couchbase-server file to add a -name ns_1@(hostname) value in the start()...

mshaw's picture
Asked 5 months 1 week ago
Latest activity 5 months 6 days ago

Pagination with Dates and refresh

I've read some documentation on pagination for Couchbase. What I would like to do is create a call that grabs the first 100 results based on date, then will grad the next 100 results based on end date of the previous 100. Also equally important is on refresh to get all new entries. So whatever...

guatszap's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Help doing queries with N1QL in CB 2.2 EE

I have been created a document in the server, but i don´t know how to do querys in the views, it's my first time using couchbase. HELP!! .....I'm doing an investigation about UnQL.

this is the document i've created

{
"Hamburguesa": {
"ingrediente": [
"...

dgrim's picture
Asked 5 months 1 week ago
Latest activity 5 months 6 days ago

Query view not returning any results

I am new to the Couchbase Python SDK and am having an issue with retrieving view data.

I can retrieve a row successfully using:

res = cb.get("SESS_1111_61412333555")

On the...

bibhas's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

How to prevent same key and document ID appear multiple times in index?

My document is like this:

{
    id: 'ABC123',
    background: 'red',
    foreground: 'black',
    border: 'black'
}

I need to be able to find documents by color. So, I create this view...

cpage00's picture
Asked 5 months 1 week ago
Latest activity 5 months 11 hours ago

REST API methods provide different node status

CB team,

I have a 6 node local cluster and one node's data partition filled up. That particular node is in a 'pending' state when viewing the UI '/index.html#sec=servers&serversTab=0'. I checked the '/pools/nodes/' API and the node is in a 'warmup' status:

status: "warmup",...

yashwanthkalva's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Unable to use couchclient version above 1.1.7 & above for memcache buckets

Hi Team,

In addition if I use 1.1.6 couch client version then I am getting class cast exception

ava.lang.ClassCastException: com.couchbase.client.CouchbaseMemcachedConnection cannot be cast to com.couchbase.client.CouchbaseConnection
at com.couchbase.client.CouchbaseClient....

Andreas Kündig's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Can a row returned by a view be null? Can its document?

I have a NullPointerException that happens sometimes on the first line of this loop,

    ViewResponse rows = this
...
qzg's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Couchbase Events and/or _changes-ish interface

Is there any way to listen to events from Couchbase? I'd like something like the _changes feed which was in CouchDB or a way I could register to listen for changes to a specific document. I tried the observe method but it appears to only be called once.

Thanks!

-Kiyu

Pages