Couchbase Questions: view indexing

Have a Question? Get it answered by our community

vincentye38's picture
Asked 10 months 1 day ago
Latest activity 10 months 1 day ago

still indexing after I deleted dev views

I develop my view under dev folder. I published the view. Then the indexing process is kicked in on building the view on both dev and non-dev automatically. I deleted the dev one. But the indexing of it still keeps going. Why? Can I cancel it because it's resource-consuming? I am using 2.1....

sruthi's picture
Asked 11 months 2 weeks ago
Latest activity 11 months 1 week ago

how to give muliple composite keys in startkey and endkey to search in views

Hi, i create a view which emit composite keys

function (doc, meta) {
emit([doc.name,doc.sex,doc.age], doc);
}

i want to get results for multiple composite keys. like [['name1','male','99],['name2','female','99']]

i have group of names along with sex but i...

stijlfigurant's picture
Asked 1 year 1 month ago
Latest activity 10 months 3 weeks ago

view not rendering

I have a view, very simple:

function (doc, meta) {
  if(doc.type == 'tag'){
    emit(meta.id, null);
  }
}

Which renders just fine in the 'development time subset', but when I look at...

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

Couchbase update view after add doc

Hello. I try to implement such scenario:
- create a doc and insert it into couchbase;
- update a view, that gets all docs of those type.

Here is a code:

var key = "my_key";
var res
...
simonthorogood's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Production Views not indexing or returning results

I have a bucket (Couchbase 2.0, single instance development 'cluster') that I populate from a production stream of messages. There are in the region of 80K items in the bucket and the total disk size (including views is around 500MB. This is a tiny fraction of the dataset that we'd like to use...