Couchbase Questions: Views

Have a Question? Get it answered by our community

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

How do you rename a development view?

I must be blind, but I don't see a way to rename a development view. Copy-pasting to a new view is easy, but tedious. What am I missing?!?

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

Publishing view using RESTApi?

Hi,

I've made a simple coffeescript utility to take/insert design documents and it works, but I want to add also publishing. This utility helps me move views between buckets and also updating the production servers from development. Is there a way, after inserting the design documents, to...

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

Error "Builtin _sum function requires map values to be numbers" with custom reduce function

Hello. I'm running couchbase 2.0 on windows 7. When I try to query view with my custom reduce function couchbase somwhere tries to execute built-in _sum function.
Here is my map/reduce functions:

...
tompark's picture
Asked 1 year 6 months ago
Latest activity 1 year 5 months ago

Views with variable date logic

Hi,

I am working on a reverse auction system. Listings can be set to be visible for 3,5 or 7 days and I store this data, along with the created and end epoch in the object. What I want a view to do however is only bring back listings which have not ended, if i work this date calculation...

jaigupta's picture
Asked 1 year 6 months ago
Latest activity 6 months 4 days ago

Storing time-series data

We want to store time-series data in couchbase. At present we are using RRD for same.

I understand that by using dateToArray and group_level we can generate graphs for day, week, month etc.

This would be good if we have single item for e.g. network bandwidth but what if we have...

swapmat's picture
Asked 1 year 6 months ago
Latest activity 11 months 4 days ago

Create view C api

Hi,

Can anyone point me to example code to create views using lcb_make_http_request?
I checked example/yajl/couchview.c but unfortunately I can't understand how to create views.

Thanks

wave's picture
Asked 1 year 6 months ago
Latest activity 1 year 2 months ago

How can a view be deleted using the Python client?

How can a view be deleted using the Python client?

retto's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

Which is the best practice: one big View or many small Views?

Hi everyone,

I trying to find best way with use View. What is the best - use one big View with compound key(two value) for filtering, or many small View with key with one value for filtering?

Regards, Alex

OZ's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

PHP - how to create View from script

Is it possible to create view from PHP script?
How?

TimMeade's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

getView() and getViews()

Greetings all,
We are testing Couchbase 2.0 and are very impressed, but very very new to this. So please be a little patient please!
Using java libraries with ColdFusion actually.
Gets and sets are working great, so we are pretty sure we are getting the client properly.
...

Pages