Questions tagged [couchdb-futon]

A built-in web-based administration console for apache couchdb. All read / write operation is handled using http request via couchdb restful api.

Typically the url is like :-

http://localhost:5984/_utils/

Basic functionality of futon :-

  • create or delete databases
  • manage individual couchdb documents (analogous to records)
  • testing of map-reduce function
  • monitor couchdb running tasks
  • create views
208 questions
2
votes
1 answer

How to get from CouchDB only certain fields of certain documents with a single request?

create a view that return only a subset of values from a document, each with its key and value within a json string. like if one given view returns a document as this following, Is it possible to get some fields information for a one request? thank…
Jamesjin
  • 371
  • 2
  • 6
  • 15
2
votes
1 answer

Can't access CouchDB Futon app with external URL

I can't access CouchDB Futon app URL from another computer. When I use http://192.168.1.3:5984/_utils in my computer, it works but when I access the same URL from another computer connected in the same network, the page is not loading. I can access…
whoami
  • 1,517
  • 1
  • 21
  • 29
2
votes
1 answer

Find The Duplicate value in CouchDb

I want to find same value in CouchDB. My Map is function(doc) { var user = []; if(doc.type = 'user'){ user.push(doc.name); emit( doc.type, user); } } And I have the results like ["Bob"],["Peter"],["Bob"] .... I'd Like to Have a reduce…
monkeyUser
  • 4,301
  • 7
  • 46
  • 95
2
votes
1 answer

adding comments to a couchdb design doc

Is there a way to enter comments into a couchdb design doc? The queries can get pretty cryptic, and it would be really nice to be able to write a brief human description of what they do.
Dave K
  • 1,674
  • 4
  • 16
  • 22
2
votes
1 answer

SImple reduce function is not working, what is wrong with my reduce function code in couchDB?

i am new to couchDB. I started with simple map/reduce. i dont know why i am not able to receive proper values for the piece of code i attached. thanks in advance !!! My mapping code as follows: function(doc){…
user4356661
2
votes
1 answer

Couchdb filter using reduce functions/linked documents

Considering: doc profile { _id:"1", name:"john", likes: ["2222","1111"] } doc likes { _id:"2222", value:"true" } { _id:"1111", value:"false" } I have a filter on my xamarin app to get the profile, and it works well but I…
VeYroN
  • 760
  • 9
  • 19
2
votes
1 answer

CouchDB: bulk_docs returning incorrect status code

I'm working on syncing a PouchDB database (with Angular) with a CouchDB database. When the replication is in progress, the code is issuing a POST request to do a bulk update to http://127.0.0.1:5984/testdb/_bulk_docs. I have a validation rule on…
shanecp
  • 650
  • 6
  • 15
2
votes
0 answers

Access Couchdb's Futon using an Ubuntu install from Digital Ocean

Disclaimer: I am very new to Ubuntu. I have little linux experience, but I might be missing something simple. Description: I have just purchased a Droplet from Digitalocean and installed Ubuntu on it. I am attempting to use CouchDB 1.6.1. I have…
Phil
  • 10,948
  • 17
  • 69
  • 101
2
votes
1 answer

Merge multiple databases in couchDB

I have multiple databases wherein each database is harvesting some hundred thousand tweets. I am not looking to merge these databases together to get more in depth analysis. However, I cannot find anything which could help me merging these…
user4563977
2
votes
2 answers

CouchDB validation and security document

I am confused about what is the difference between the a security document (image below) AND between the validate_doc_update function (see below) which placed within the design document. function(newDoc, oldDoc, usersCtx){ //validate code…
Skywalker
  • 4,984
  • 16
  • 57
  • 122
2
votes
1 answer

How to name application specific fields in couchdb

I tried adding my own fields with names like _myappvar and _myotherappvar to documents to distinguish them from data fields. At first it worked but at some point futon starts to complain. What is the right way to go? I am using couchdb 0.9.0, this…
user89021
  • 14,784
  • 16
  • 53
  • 65
2
votes
4 answers

Counting couchdb rows unique only

I have a db in couch with 55,000,000 docs. Many of the docs have duplicate values for certain properties and I would like to get a count of only unique values for a property. I'm new to couchdb and saw list function but this is far too slow for…
John Earnshaw
  • 331
  • 3
  • 14
2
votes
1 answer

CouchDB {error,req_timedout}

Somehow I cant bring my local couchdb into replication with a remote server... I always see in the logs: [error] [<0.5607.0>] Replicator, request GET to…
2
votes
2 answers

CouchDB reduce error?

I have a sample database in CouchDB with the information of a number of aircraft, and a view which shows the manufacturer as key and the model as the value. The map function is function(doc) { emit(doc["Manufacturer"], doc._id) } and the reduce…
Weixiang Guan
  • 457
  • 2
  • 6
  • 16
2
votes
2 answers

Connect couchDB with Backbone

I had tried to connect CouchDB with Backbone in HTML but could not able to connect. Can any one please provide me some samples on how to connect CouchDB with Backbone in HTML
Chinna
  • 71
  • 1
  • 4