Couchbase Q&A

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

Sorting Discrepancies

Hi,

We are querying CB using the Java SDK and the view being queried is to be sorted by a specific attribute of the documents. For instance, each document has a field which represents the state, this state is a string.

When querying this view we experience the following problem:...

yuzkan's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Find out if a document has been synchornized with server

Hi,

is it possible to check if a document that has been updated/created on the device has been synchronized with CB Sync Gateway?

Also how can I query for all documents that are not yet synced with CB Sync Gateway if the device is offline?

Thanks,
Yuzkan

erwink's picture
Asked 7 months 1 week ago
Latest activity 1 month 3 weeks ago

N1QL java sdk api

Hello All,

Is it possible to use N1QL from Couchbase JAVA sdk?
Your directions would appreciated.

Thanks,
Erwin

erwink's picture
Asked 7 months 1 week ago
Latest activity 6 months 2 weeks ago

ReactiveCouchbase java api

Hello Experts,

We'd like to use this reactiveCouchbase from JAVA Code and not as play framework app. 
What is the advantage of above lib against the async operations of the Couchbase sdk's async operations? 
One more question,  whether the map methods in reactiveCouchbase is...

zaraki's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

How to query a view for a given date?

Hello,
The key format that we have is [YYYY,MM,DD,u'alphanumeric_string']
I have been trying unsuccessfully to get all the keys for a given day via
the python client.
eg. for 5th Jan 2014
In the query's map_key argument
view = views.iterator.View(cb,design='...

dvohra's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Bug:NIQL COUNT() function returns 1

The Couchbase bucket has several documents but COUNT() function returns count as 1.

couchbase-user's picture
Asked 7 months 1 week ago

functionality inside Reduce function!

Hi there,

I'm trying to write a Reduce function that does some operations on the values retrieved from MAP function.
For this I need to loop through the values and add some characters in between the results, something like:

function (keys,values){
var ss='[';
...

erwink's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Queries against document keys

Hello Masters,

Is it possible to run N1QL queries against document ids (keys).
For example I'd like to retrieve all the keys that own specific prefix.

Thanks in advance,
Erwin

stelios p's picture
Asked 7 months 1 week ago
Latest activity 7 months 2 days ago

How to get a value, from bucket, using the REST API

Can someone provide an example, of how someone using a REST tool, for example Rest console, of postman, could retrieve a value stored in a bucket, by providing key,bucket credentials,or/and server credentials?
thanks in advance

ksnyde's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

PageFaults, Connections, and very high level of Network Timeouts!

I have a couchbase installation in development (OSX, PHP libcouchbase, and Couchbase 2.01) which works without any issue but my production instance (Ubuntu, PHP libcouchbase, and Couchbase 2.1.1) is having a LOT of problems and I'm hoping I can get a little help on the following:

  1. ...

Pages