Couchbase Questions: Views

Have a Question? Get it answered by our community

isanfulia's picture
Asked 2 days 7 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 1 day 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 3 months 1 week ago
Latest activity 2 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 3 months 2 weeks ago
Latest activity 3 months 1 week 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 9 hours ago
Latest activity 3 months 3 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 5 months 3 weeks ago
Latest activity 5 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 6 months 3 weeks ago
Latest activity 6 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 8 months 6 days ago
Latest activity 7 months 2 weeks 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 9 months 5 days ago
Latest activity 9 months 5 days 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",...

tony.hegyes's picture
Asked 11 months 8 hours ago
Latest activity 10 months 1 week ago

CouchbaseModelView library - missing attributes?!

Hello!

I am using the latest NuGet version of the CouchbaseModelViews packet. The problem is that it doesn't contain the [CocuhbaseCollatedViewKey] nor the [CouchbaseSpatialView] attributes, like the documentation (...

Pages