Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
jonathonl's picture
Asked 5 months 3 weeks ago
Latest activity 5 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 5 months 3 weeks ago
Latest activity 5 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 5 months 3 weeks ago
Latest activity 5 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 5 months 3 weeks ago
Latest activity 5 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 5 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 5 months 3 weeks ago
Latest activity 5 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 5 months 4 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...

limkl's picture
Asked 5 months 4 weeks ago
Latest activity 5 months 3 weeks ago

Minimum JDK version

Hi,

May I know what is the minimum JDK version for Couchbase Java Client?

Thanks,
Victor

- According to this page, Couchbase can be used for Java 1.1+:
http://www.couchbase.com/communities/all-...

frostyyetti's picture
Asked 5 months 4 weeks ago

Question on how the query results are merged

If I issue the query below:

SELECT *
FROM tutorial
WHERE fname = 'Ian'

does it scan all the documents in 'tutorial' bucket in many servers to produce the result? Is it smart to use the secondary index or if the data exists in Elastic search?

igal.dahan's picture
Asked 6 months 42 min ago

add spatial view with REST API

HI i would like to add spatial view with REST API, where i have additional views on the same document, so i think i have to correct command, i didnt get error, but still i cannot see that in the web console.
could you help me here?

here is the command :

# curl -X PUT -H'...

Pages