Couchbase Questions: Views

Have a Question? Get it answered by our community

zbintliff's picture
Asked 3 days 12 hours 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 2 weeks 3 days ago
Latest activity 1 week 3 days 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 2 months 1 week ago
Latest activity 2 months 1 week 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 3 months 1 week ago
Latest activity 3 months 1 week 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 4 months 3 weeks ago
Latest activity 4 months 3 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 5 months 3 weeks ago
Latest activity 5 months 3 weeks 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 7 months 2 weeks ago
Latest activity 6 months 3 weeks 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 (...

cchuter's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 5 days ago

Spatial Views and Php

Does this exist, yet? (querying a spatial view in php)

I'm going to be really bummed if it doesn't, as I think I have the perfect test case. Is there a way to use spatial views or can someone show me a good workaround in PHP?

Here's what I've done. I've made a spatial view -...

Albus Slartibartfast Dumbledore's picture
Asked 8 months 3 weeks ago
Latest activity 7 months 2 weeks ago

What is the best way to get documents after querying a view?

I've been pondering about this for a while now and have looked around on here and elsewhere for the answer but I am unable to find anything that answers a trivial question.

I've been developing in Clojure using the wonderful Couchbase-clj (...

monsters's picture
Asked 9 months 1 day ago
Latest activity 1 month 6 days ago

Do i need to escape keys when loading from a view?

i have a view emiting what looks like this

Key | Value
---------------------
one | something
two | something
a.b | something

now when querying, i can't get the a.b to show up, i'm assuming its the period in the middle. what do i...

Pages