Couchbase Q&A

Have a Question? Get it answered by our community

mwkarl's picture
Asked 6 months 38 min ago
Latest activity 5 months 4 weeks ago

View Map to return Key/Value pairs as Value

Is it possible to return Key/Value pairs in emit() using cb.query() in a similar way to the return value of cb.get() ?

cb.get() returns the complete object, however a cb.query() returns an indexed array as per the array ([ doc.x, doc.y , doc.z]) format of the emit() return value.

...

churchs's picture
Asked 6 months 2 hours ago
Latest activity 4 months 3 weeks ago

Node.JS SDK access to Cluster from Amazon EC2

I am hoping that someone can assist with a connectivity issue I am having from an Amazon EC2 Ubuntu box with NodeJS SDK installed and trying to communicate with a Couchbase Cluster.

The facts are:-

Cluster - A 3 node cluster (version 2.2.0 enterprise edition (build-821) on an...

crigano's picture
Asked 6 months 11 hours ago
Latest activity 4 months 2 weeks ago

can't start couchbase server 2.0.2 in non-root sudo

I an trying to install couchbase server 2.0.2 from http://www.couchbase.com/communities/python/getting-started

I have Linux mint 15.

I went to "Installing on Ubuntu as Non-Root, Non-Sudo"

I...

ielia's picture
Asked 6 months 14 hours ago
Latest activity 5 months 2 days ago

CouchbaseConnectionFactory.updateStoredBaseList hard-coded administration port

Dear all,

I've noticed there is a "8091" hard-coded in CouchbaseConnectionFactory.updateStoredBaseList(Config). I have started a server on a remote host on port 10091 and I cannot make it work due to this piece of code:

...
oyster's picture
Asked 6 months 14 hours ago
Latest activity 5 months 2 weeks ago

couchbase timeout prematurally

Hi,
I have two threads. The main thread receives requests through http service. For each request, a key in couchbase needs to be updated accordingly. The update operation is done in the second thread, which owns a couchbase client backed up by libev and drives the event loop manually (...

mwkarl's picture
Asked 6 months 1 day ago
Latest activity 6 months 18 hours ago

Append/Prepend to a nested attribute

The Couchbase Developer's Guide states:

Similarly, if you have JSON document with nested attributes, when you prepend and append, the new data will appear either before or after the entire JSON object, but not within the JSON object, nor any nested attributes in the JSON.

...
lenx.wei's picture
Asked 6 months 1 day ago
Latest activity 6 months 8 hours ago

a python sdk bug to query with a loooong key

Hi,

Sorry for posting it here, because currently the web site doesn't allow me to post it to the python client issues...

When I use python sdk 1.1.0 with couchbase 2.2.0 and execute
rows = ct.query('a', 'path', key='...

arkaitzj's picture
Asked 6 months 2 days ago
Latest activity 6 months 17 hours ago

Does performing a cbbackup on a node bring up the resident %?

I am trying to increase my resident ratio, I have enough memory to have a 100% of resident items.
Will cbbackup work? Any other approach?

cindyb2087's picture
Asked 6 months 2 days ago
Latest activity 6 months 2 days ago

is couchbase server 2.2 supported by .net sdk 1.2.9?

is couchbase server 2.2 supported by .net sdk 1.2.9? If not, what is the latest version of couchbase server supported by .net sdk 1.2.9

pmckenna's picture
Asked 6 months 3 days ago
Latest activity 5 months 4 weeks ago

Count(indexedfield) doesnt use index

We tried to perform a count(*) on an indexed field today and it seems to be using a full #alldocs scan instead.

create index objectid on entities_service(entity.objectid)
...

Pages