Couchbase Q&A

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

How to write Where condition on arrays using INDEX

While trying the N1QL language, I found a difficulty to request the following:

Let say the document contains, among other attributes, an array of values as in
varArray : [ val1, val2, val3 ]

How can I...

fredericb's picture
Asked 3 weeks 2 hours ago
Latest activity 2 weeks 6 days ago

How to partially update a document

Many times, it is very convenient to only update one attribute instead of loading everything into memory and then pushing everything onto the wire, specially when a few changed (let say only 1% had changed).

I did not find any element, except an issue opened from 2012/06 (...

lucapale's picture
Asked 3 weeks 3 hours ago

Updating existing Index on views

I am building an app on Phonegap and I have a view, i.e.:

sites : {
			map : function(doc) 
						{
							if (doc.type == "site" && doc.created_at && doc.name && doc.geography
...
mingram's picture
Asked 3 weeks 4 hours ago
Latest activity 2 weeks 5 days ago

Is it possible to have different document lifetimes either side of an XDCR link?

I currently have a Couchbase cluster configured and hosting a lot of documents. I'd like to have a second cluster where all the documents would be replicated to but where they would live for a much longer period of time. That is, documents would be not be available after, say, 7 days in the...

doronaviguy's picture
Asked 3 weeks 8 hours ago
Latest activity 2 weeks 5 days ago

querying a compound key from a view

Ok my keys looks like that

key = [ 1404891029233,"batman" ]
key = [ 1404891029283,"superman" ]
key = [ 1404898029283,"spiderman" ]

i want to do a range query ,
to get all the "superman" records ?

query =>
startkey=[0,"superman"]
endkey=[...

vakoroteev's picture
Asked 3 weeks 19 hours ago
Latest activity 2 weeks 4 days ago

Server side implementation of set document operation with Replicate value greater zero

I'm working with Couchbase (Java SDK) more than one year and from the beginning I was very worried about one question: why set documents with Replicate.ONE SO slow? I have reached only ~10-15 sets per second. I worked with two nodes of Couchbase and on very good application servers, so such...

couchbaselearner's picture
Asked 3 weeks 21 hours ago
Latest activity 2 weeks 5 days ago

Can I save a document on disk only instead of memory in Couchbase server?

Hi,

I am new to couchbase, currently my company is using couchbase server to save data for fast retrieval, but we have a document with 500mg that only want to save into disk instead of memory.

Is any one can suggest some approach to save this document only into disk in...

boldt's picture
Asked 3 weeks 1 day ago
Latest activity 2 weeks 4 days ago

strange problems with increment

Hi,

I'm running the following code on couchbase 2.5.1 and java sdk versions 1.3.2 and 1.4.2

    	bucket.couchbaseClient.set
...
ioriliao's picture
Asked 3 weeks 1 day ago
Latest activity 2 weeks 2 days ago

A backup couchbae 1.8 how to restore to couchbae 2.2?

Hello, I have a question,
A backup couchbae 1.8 how to restore to couchbae 2.2?
thanks a lot !!!

flo_vonderuni's picture
Asked 3 weeks 2 days ago
Latest activity 3 weeks 21 hours ago

lexical error: invalid char in json text

Hello experts,

we are getting a new error now when trying to use lots of channels:

17:18:00.803 WARNING: JSON error parsing _changes feed: lexical error: invalid char in json text.

We set the channels via the channels property of the pull replication, but it seems there is...

Pages