Couchbase Questions: Views

Have a Question? Get it answered by our community

daveseltzer's picture
Asked 2 days 10 hours ago

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

Hello,

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 4 weeks 11 hours 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 1 month 3 weeks ago

Couchbase 2.2.0 - Count of unique values for specific json field

Also posted here: http://stackoverflow.com/questions/24413833/couchbase-2-2-0-count-of-uni...

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 4 days ago
Latest activity 3 months 3 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 night...my 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 4 months 1 week ago
Latest activity 4 months 6 days 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 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

Simple Search Question

Hello

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 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Out of Memory regularly on 2.0.1 and 2.1.1

Hi,

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@10.45.11.215' disconnected: {{badmatch,
{error,
closed}},
[{mc_client_binary,
...

edi_toonimo's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 3 weeks ago

Couchbase Indexing and Rebalancing for 2 weeks

Hello,

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 2 days ago
Latest activity 8 months 1 week 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 1 day ago
Latest activity 10 months 1 day ago

how to query mulitiple composite key?

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

example my data in bucket:
{
{
name:"Sruthi",
gender:"F",
age:"23"
}
{
name:"raghun",
gender:"M",
age:"24"
}
{
name:"david",...

Pages