Couchbase Q&A

Have a Question? Get it answered by our community

MikeOliverAZ's picture
Asked 6 months 2 days ago
Latest activity 5 months 4 weeks ago

Getting Started not getting far

I downloaded and installed 2.2 Enterprise and the Admin console works great.

Imported the jars in the Java SDK and tried the hello world example.

Here is the console when I try to run it.

2013-10-24 10:30:57.391 INFO com.couchbase.client.CouchbaseMemcachedConnection: Added...

brandonagr's picture
Asked 6 months 3 days ago
Latest activity 6 months 2 days ago

Specifying ReplicateTo.One in ExecuteStore times out

I have a test cluster using 5 desktop machines running 2.2 enterprise, I have the replication factor set to 1 for the default bucket.

I can do normal stores and everything appears fine, but when I try to set the durability of ExecuteStore to ReplicateTo.One, I get a timeout error after 60...

lenx.wei's picture
Asked 6 months 3 days ago
Latest activity 5 months 2 weeks ago

access denied to my own posts

Hi,

after i asked a question just now and posted it, the system told me "access denied" to the posts...

some configuration wrong in the web site?

thanks,

Lenx...

pmckenna's picture
Asked 6 months 4 days ago
Latest activity 6 months 1 day ago

Ranged Filter Queries

In the absence of joins, it is critical that we can do a ranged filter, using something like

select object.clientid from bucket where object.objectid IN (123,432,543)

In this way we can perform two...

pmckenna's picture
Asked 6 months 4 days ago
Latest activity 6 months 2 days ago

Indexes not used in OR query

I found another instance where indexes are not used in N1QL

When I run query A, indexes are used. In query B where I use an OR, the indexes are not used.

Query A

select
...
sruthi's picture
Asked 6 months 4 days ago
Latest activity 6 months 3 days ago

how to give muliple composite keys in startkey and endkey to search in views

Hi, i create a view which emit composite keys

function (doc, meta) {
emit([doc.name,doc.sex,doc.age], doc);
}

i want to get results for multiple composite keys. like [['name1','male','99],['name2','female','99']]

i have group of names along with sex but i...

sruthi's picture
Asked 6 months 4 days ago
Latest activity 3 months 1 week ago

Getting following TypeError: Cannot read property 'status' of undefined, for concurrent 2000 request

Hi,

I have a simple code to get value from couchbase view using nodejs sdk. it works fine for 1000 request(from apache jmeter). but when i try for 2000 request it fails and throw following error

/xxx/xxx/xxx/xxx/node_modules/couchbase/lib/http.js:15
if (error &&...

sunku's picture
Asked 6 months 4 days ago
Latest activity 6 months 2 days ago

Hosted Couchbase service on EC2?

Hello.

I'm looking for hosted Couchbase service on EC2 such as MongoHQ for MongoDB. It seems not easy to find hosted services for Couchbase.

I just found the one service named CleverCloud. but this service seems in beta testing now. Is there any other service to suggest for me?...

hupantingxue's picture
Asked 6 months 4 days ago
Latest activity 6 months 3 days ago

The key not existed in bucket whose ops is very high

My cluster has three buckets,and 8 nodes. In one bucket, one node has a strange phenomenon:
1. The ops of the key not exists in bucket is very high, and it up to 1.1k/s, see also in attach1.jpg;
2. Only...

mwkarl's picture
Asked 6 months 5 days ago
Latest activity 6 months 3 days 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.

...

Pages