Couchbase Q&A

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

CHANGE_EVENT not received

Hello,

I have an iOS Titanium client built using the couchbaseLite titanium iOS module. Pull and Push replication is configured and working well in general, however I noticed a problem. If I update the same json document via the sync gateway using a REST PUT command two times in a row,...

kanundrum's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Is there a way to compact views in couchdb lite for Android

The data for my application continues to increase and I'm aware of the need to occasionally compact but I don't know how to do that via the couchbase lite. I noticed that there is a compact method on CouchDbConnector but that doesn't seem to have a positive effect.

jonathonl's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

IS NOT VALUED does not seem to work.

Maybe I am not understanding this correctly, but I expected IS NOT VALUED to be the same as (IS MISSING OR IS NULL). This does not seem to be the case.

SELECT * FROM gamesim-sample WHERE loggedIn IS
...
jonathonl's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Ranges not used on primary index for Meta().id

It would be highly beneficial if startKey and endKey ranges were used for document ids when a primary key exists. Currently the input ranges are null.

All of my documents follow an ID structure of {DocType}::{uuid} (e.g., User::3b49dd18-1d56-478e-8ab1-fb38e31ce7e2). So a common query...

jonathonl's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Engine crashes when prepending LIKE wildcard on index

I couldn't find a n1ql project at couchbase.com/issues, so I am posting this here.

Like expressions starting with a wildcard will crash cbq-engine when used on indexed field . My guess is that it's trying to use startKey and endKey on the view, which can only work if the wildcard is at...

sergay.shamshin's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Couchbase down urgent help

Hi, i got a problem. i dont have a lot of experience in couchbase so please help me please.
i am using couchbase 2.1.0 in production.
we got 2 nodes in amazon which worked fine.
i wanted to upgrade the disk capacity, i took down a node changed disk size and it didnt come back...

Nieldy's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Timeouts with .NET Couchbase Client

We've been having issues for quite awhile with the .NET Membase Client we use in our web service often timing out when storing some login details in Couchbase. The timeout is set to 10 seconds, which seems fairly high given it's only 8KB or so of data being sent. Originally I thought the issue...

jakjak's picture
Asked 6 months 3 weeks ago

RestAPI pools/default not always returning otpNode

Is there a reason why the otpNode and otpCookie are not always sent in the response to a pools/default request? Is there another response that contains this for everynode? I need to initiate a manual failover and that rest request require the otpNode as the parameter.

nvargas's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Multi get and touch

Hi,

I see that one can get several keys in one round trip. Also one can do get-and-touch in a single round trip. Is it possible to do several get-and-touch in one round trip, please? Something like:

IDictionary<string, object> CouchbaseClient.Get(IEnumerable<string>...

jazneil's picture
Asked 6 months 3 weeks ago

Pagination using scoring algorithm

Hi

I have 2 types of Documents, users and posts. Basically a user makes multiple posts. Each post records how many times somebody likes, comments on or reshares the post.

I want a simple query to get users sorted by the total number of likes, comments, reshares across all posts...

Pages