Couchbase Q&A

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

java 1.1.8 cannot work

error:
八月 03, 2013 1:56:18 下午 com.couchbase.client.CouchbaseProperties setPropertyFile
INFO: Could not load properties file "cbclient.properties" because: File not found with system classloader.
2013-08-03 13:56:19.415 INFO com.couchbase.client.CouchbaseConnection: Added {QA...

jcsanyi's picture
Asked 8 months 2 weeks ago

Exceptions and Error Codes

The documentation seems to suggest that errors should be handled by catching exceptions, rather than calling getResultCode().

However - Exceptions don't seem to have any sort of a result code set, so it's impossible to detect a network error, for example, without doing string comparisons...

tufnell's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Go Driver: unsupported protocol scheme error

I've installed the Couchbase server on my mac and have used the default options in the setup.

I'm now using go and trying to use the go-couchbase driver examples from here:

https://github.com/couchbaselabs...

Sandeep's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Filtering data based on datetime

Hi,
Is there an option of filtering data using views based on current datetime
For ex. I've many JSON Document each of these document contains a key:value as
Starttime:2013-08-25T13:41:13.163+01:00.

I would like to filter those documents whose Starttime is less than...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

How to get result of a View in one couchbase server call .

When we try to get result from a view using this code

IView list = _cache.GetView(entityIndex.DesignDoc, entityIndex.View, true).Keys(keys);

if (list != null && list.Count() > 0)
results = list.ToList();

we get to see several calls to...

Seungjae Lee's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

View or manual index using append operation

I'm creating a web API service that manages friends list and leadersboards.

When user requests leadersboard, server returns only user's friends' ranking and scores.

Now I'm figuring out right Couchbase schema structure regarding large number of users and API calls.
Meanwhile...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 6 months 2 weeks ago

JSON de-serialization issue

Hi,

The code below shows how we are using a View to fetch results.

IView list = _cache.GetView(entityIndex.DesignDoc, entityIndex.View, true).Keys(keys);

if (list != null && list.Count() > 0)
{
results = list.ToList();
}

The issue is that...

sunil.singh's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

What is the max size of index of a view

Is there any default Index size in Couchbase for a View?

We are seeing older objects disappearing once the View size increases to about 30,000 objects in our case.

The newer objects can be queried from the view.

Regards,
Sunil Singh

SkeLLLa's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Couchbase 2.1.0, 2.1.1 freeze on upgrade on Windows

Hello. Earlier I've tried to upgrade my couchbase from 2.0.1 to 2.1.0 and installation process stuck at "Computing space requirements" at the end of installation. Then I was unable to do anything with install and killed install process. Then I reinstalled couchbase - all good, except all data...

Albus Slartibartfast Dumbledore's picture
Asked 8 months 2 weeks ago
Latest activity 7 months 1 week ago

What is the best way to get documents after querying a view?

I've been pondering about this for a while now and have looked around on here and elsewhere for the answer but I am unable to find anything that answers a trivial question.

I've been developing in Clojure using the wonderful Couchbase-clj (...

Pages