Couchbase Questions: Views

Have a Question? Get it answered by our community

tony.hegyes's picture
Asked 1 year 1 week ago
Latest activity 11 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 1 year 2 weeks ago
Latest activity 12 months 3 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 1 year 1 month ago
Latest activity 1 year 1 week 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 1 year 1 month ago
Latest activity 6 months 5 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...

Stag's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

View performance

Hi, is it normal that the view latency drops like a rock at about 10,000 view entries (it's a _stats mapreduce)? A get() query against the view takes about 40 milliseconds with the new Python 1.0.0 SDK. What will it look like after some hundred million view entries?
I didn't test the...

bdw429s's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

New views are immediately available

Following the directions here http://tugdualgrall.blogspot.com/2012/12/couchbase-101-create-views-mapr... I have set up some code that pulls a list of IDs from the cache by creaing a view on the fly...

nks_mmm's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

Simulating SQL BETWEEN quuery

Hi,
I am new to Couchabse/NoSQL. I have a use case where I need to migrate an app from MySQL to Couchbase.

In MySQL i have a table with columns like startNumber,endNumber,LocationId
I fire a query as below- all values are long numbers

SELECT LocationId FROM blocks...

rdominy's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

Key limit in View queries?

I'm querying a view using the PHP SDK using the view method, $object->view($ddocname [, $viewname ] [, $viewoptions ]), and finding that when I pass in a certain number of keys in the viewoptions param, the method silently fails and just returns null. It appears that 164 keys is OK, but 179...

rkb's picture
Asked 1 year 5 months ago
Latest activity 1 year 4 months ago

Query options

In Java there are methods for setting the start and end document ID key (setStartkeyDocID() setEndkeyDocID()) and there are methods to set the key (setKey() and setKeys()) and key range (setRange(), setRangeStart(), setRangeEnd(), etc.). I am unclear as to the difference? When I setup a view the...

erkansahin's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Same View Different Query Time

We develop our institutional project. We use couchbase for data management.We try same query many times from couchbase .Thats are same query but executing times are different.First 0.2 seconds second 1.7 third 0.6 ...How can i solve this problem.Because now couchbase has test data.It is only...

Pages