Couchbase Questions: Views

Have a Question? Get it answered by our community

daveseltzer's picture
Asked 3 weeks 3 days ago

Cloudbase 2.2 Production View returns "The results of this view is empty."


I'm quite new to Couchbase, so it's entirely possible I'm making a rookie mistake.

I have a view which I've created which is designed to return a list of Entities found in my documents. The code runs find in the Development Subset, but when I publish the view and run it...

isanfulia's picture
Asked 1 month 2 weeks ago

Querying Views using a POST request instead of GET (key limit)

Hi all,

I was trying to query view with many keys(around 20K) using the Java api but this results in exception. The reason I think is because the query is fired as a GET request which has the limit on the number of characters in the URL. Is there a way to do a POST request on view using...

villo's picture
Asked 2 months 2 weeks ago

Couchbase 2.2.0 - Count of unique values for specific json field

Also posted here:

I'm trying to figure out a way to count the number of unique values in a bucket that is not a...

carlosM's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

I don't know if I understand collated views right (and N1QL would be am option?)

Hi everybody..I'm not pretty sure if I understand well collated views, I only could found a couple of articles about it...I was trying this in the last idea: create documents which are related to messages, every essage has an author and could have many destinataries (which are saved...

zbintliff's picture
Asked 5 months 4 days ago
Latest activity 4 months 4 weeks ago

Multiple Views on Design Document

I'm using couchbase for proof of concepts and such. I am reading about views and design documents and understand them (I think). So far whenever I wanted to create a new view I created a new document as well. Is there any benefit or drawback for putting multiple views on the same design...

stclaird's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 week ago

Simple Search Question


I am in the process of getting to grips with couchbase and python but I have hit a question that I would like some help with:

I want to check for the existance of a document element/value in couchbase before I decide to add a new document.

So for example in my case I...

haakonl's picture
Asked 7 months 2 weeks ago
Latest activity 7 months 2 weeks ago

Out of Memory regularly on 2.0.1 and 2.1.1


we have a cluster where the nodes fails regularly because of an out of memory crash. In the console, we find this message in the logs:

Control connection to memcached on 'ns_1@' disconnected: {{badmatch,

edi_toonimo's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Couchbase Indexing and Rebalancing for 2 weeks


I have a 2 node cluster on XLarge instances in Amazon.
There's a one big bucket of 18M documets - 2K each doc and 60 bytes for the key, 1 replica configured (+replica for indexes).
There are about 3 disk creates per sec, 3 CAS operations per sec, 10 gets per sec.

simonthorogood's picture
Asked 9 months 3 weeks ago
Latest activity 9 months 4 days ago

Automatic Updates to Map-reduce Views

Hi we are currently testing an application using Map-reduce views and what we are finding is that documents are taking a long time to appear in view results (or even not appearing at all) when we use stale=true in the view query.

Reading this page:


sruthi's picture
Asked 10 months 3 weeks ago
Latest activity 10 months 3 weeks ago

how to query mulitiple composite key?

question is whether we can give many composite keys in startkey and end key

example my data in bucket: