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
0
votes
1 answer

UDP Flooding on physical server due to couchdb

Current setup: Installed couchdb on server and is connected to a gwt application hosted on tomcat. Rhel 6 is the operating system and its firewall is turned off. The server is connected to a cyberoam (physical) firewall. Problem: As soon as the…
0
votes
1 answer

CouchDB with GoDaddy SSL doesn't work

Does anyone know how to set up CouchDB to use a GoDaddy SSL certificate? It looks like it just can't get the intermediate certificate. I've checked it with curl and with SSL Checker and it says it can't get the intermediate cert. I've tried…
Pugz
  • 939
  • 3
  • 11
  • 25
0
votes
1 answer

Couchdb document/function

In a document with the following information: { "address": [{ "Street": "123 xyz", "City": "Belmont" }] } How can I view the name of the cities. Is this correct: function(doc) { emit(doc.address.City,null); } It returns only null. I…
0
votes
1 answer

Student database access - couchdb

I want to create a student database that has details about students - id, name, address, transcript, phone etc. I created a structure like this: { "ssn" : "121-23-1232", "name": "Grace Johnson", "address": [ {"Street Address": "190 Pinehill…
0
votes
1 answer

How to create Manual ID CouchDB

I have a Json file as such : { "_id":"03f8dcb28c93ec4b6c39d6bdf45bcf57", "api_rev":"1.0", "type":"router" } The _id identifies a particular entity thus, i will not like to go for the auto generated one. When i push to couchdb i get…
user2691659
0
votes
1 answer

CouchDB "[Circular]" when writing to an array

In CouchDB, I am writing to an array and keep getting the message "[Circular]". I am using Node.js to create the data to be written like this. Say I have an two email objects in the same document in CouchDB: unverifiedEmail =…
Justin Elkow
  • 2,833
  • 6
  • 28
  • 60
0
votes
2 answers

Couchdb "Get By Type" view design

So for my documents, i have a type property that defined them. And almost for all of these 'types', I have to have a 'get by type' call.. Now the question is which one of these design is more efficient; Have a single view that has a key with the…
Tolga E
  • 12,188
  • 15
  • 49
  • 61
0
votes
1 answer

How to build a multipart query in Ektorp and couchDB?

I have the following record structure (simplified to include only the bits that matter): _id: couchDB generated ID _rev: couchDb generated revision number _creationDate: timestamp for when the record was created _amount: how much money was…
Ginger McMurray
  • 1,275
  • 2
  • 20
  • 42
0
votes
1 answer

map/reduce function on json objects in couchdb

I have a couple of documents in my couchdb database which all are like: { "_id":"1234567890", "name": [ "category1": 5, "category2": 8 ] } I want to have a map function which gives me "category1" as key and 5 as value. I just can't separate…
0
votes
1 answer

couchdb: calculate average of a value

I'm new to Couchdb. I want to calculate an average of a value in futon. My map-function: function(doc) { if(doc.Fares.Taxes) emit(1, doc.Fares.Taxes); } My reduce-function: function(amount,values){ return sum(values/amount); }
Weedjo
  • 335
  • 1
  • 6
  • 17
0
votes
1 answer

calling another list function in couchdb

Helo Folks, I am working on a view in couchdb. And, in the 'extract' list function, I'm trying to filter out some information using that view (myView). From the client that connects to couchdb, I want to do 1 major thing - show the results from the…
GodMan
  • 2,561
  • 2
  • 24
  • 40
0
votes
0 answers

CouchDb : Deleting a huge document first time gives Status: 500 (Internal Server Error)

When I try to delete a document (5Mb) in couchdb for the first time , I get this Status: 500 (Internal Server Error) {"error":"os_process_error","reason":"{exit_status,1}"} While deleting the document the 2nd time deletes it correctly. This…
dogfish
  • 2,646
  • 4
  • 21
  • 37
0
votes
1 answer

CouchDB Futon custom URL

I just installed CouchDB on my Ubuntu 12.04 server and I am trying to find a way to access Futon (the web based admin panel) using the IP of my computer or one of the domains I have binded on it. I have added the following below the [httpd] section…
Paris
  • 6,323
  • 7
  • 31
  • 49
0
votes
1 answer

How do I add a new key-value pair to CouchDB using Cradle? Node.js

I have a document in my CouchDB database I would like to add a new key-value pair to. I am using Cradle to communicate with the DB (https://github.com/cloudhead/cradle), however, I get an error if I try to update it with a field that doesn't exist.…
streetlight
  • 5,968
  • 13
  • 62
  • 101
0
votes
1 answer

unable to run views written in python in couchdb futon

i started using couchdb with python-couchdb recently. The problem is when i use futon run my views written in python i get the following error message: Error: os_process_error {exit_status,4} even for the default view it crashes. def fun(doc): …
Rakon_188
  • 573
  • 2
  • 7
  • 15
1 2 3
13
14