Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
mingram's picture
Asked 2 days 1 hour ago
Latest activity 40 min 16 sec 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...

ohassidi's picture
Asked 18 hours 9 min ago
Latest activity 1 hour 22 min ago

Customizing an index, Create index on dev design doc, and Customized sorting

Few questions in one post I hope I will be clear :)

  • Customizing an index: after creating an index is it healthy to customize it by editing the created view? For example I have created an index using CREATE INDEX then went to the view created in the couchbase and edited it a bit and
  • ...
Oscar's picture
Asked 2 hours 9 min ago

Repositories for CentOs 7

Hi all,

On 2014-07-07 CentOs 7 was released. Is there a roadmap available when a repository for CentOs 7 will be available?

Kind regards,

Oscar

wildstar's picture
Asked 12 hours 3 min ago

talents tempting me to WildStar Gold dig

talents tempting me to WildStar Gold dig deeper.Apparently, WildStar’s crafting looks just like other MMOs. There’s gathering tradeskills offering Mining and Survivalist,

equipment tradeskills like Armorer and Weaponsmith, and WildStar Gold For Sale hobbies including Farming and Cooking...

tjhack's picture
Asked 22 hours 16 min ago
Latest activity 4 hours 39 min ago

MVCC for concurrent user access and updates to document

Hi guys,

I have been having a read of MVCC within Couchbase db.

I have come to a point where I need to implement but am confused in regards to whether I should be using CAS or not to do the job?

Basically there could be a few users accessing the documents within couchbase...

urbangroove's picture
Asked 1 day 7 hours ago
Latest activity 4 hours 58 min ago

Couchbase indexing with Apache Storm

Hello,

I am planning to use Couchbase with Apache Storm. Since Storm inserts data into Couchbase heavily(i.e. 2~3k updates or inserts per second), view's indexing also keeps updated and restarted endlessly with the default auto-indexing settings. So querying with stale=false is always...

fredericb's picture
Asked 1 day 22 hours ago
Latest activity 1 day 18 hours 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 1 day 23 hours ago
Latest activity 1 day 18 hours 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 2 days 1 hour 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
...
doronaviguy's picture
Asked 2 days 6 hours 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=[...

Pages