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
1
vote
1 answer

how to manage list functions using futon?

Is there a way I can make the futon display results of list-functions and help me edit them the way it does with map/reduce functions?
Radagast the Brown
  • 3,156
  • 3
  • 27
  • 40
1
vote
1 answer

couchdb futon document editor - can I customize the document validation part?

A VERY nice to have would be if I could edit object-literals in this editor's text-field instead of JSON expressions. If I could replace the JSON parse with a simple eval - it will make editing sooooo much easier! (and help me design document…
Radagast the Brown
  • 3,156
  • 3
  • 27
  • 40
1
vote
0 answers

CouchDB documents become deleted after resolving conflicts

I have two CouchDB (v3.3.2) instances which run in docker containers, one instance is run locally and one is a remote instance in the cloud. The local will sync with the remote and the remote will sync with the local. So if I update a document in…
1
vote
1 answer

Couchdb and Sofa Help

I'm new to Couchdb just a few week back I git clone the couchdb app called sofa [what and app] . Over the week It was going great but suddenly today I stumble upon something. Here what I meant when I browse the Sofa app and try to create a Post…
Viren
  • 5,812
  • 6
  • 45
  • 98
1
vote
1 answer

timeout with couchdb mapReduce when database is huge

Details: Apache CouchDB v. 3.1.1 about 5 GB of twitter data have been dumped in partitions Map reduce function that I have written: { "_id": "_design/Info", "_rev": "13-c943aaf3b77b970f4e787be600dd240e", "views": { "trial-view": { …
Ankita
  • 159
  • 1
  • 3
  • 10
1
vote
1 answer

How to define an index to use in a Mango Query

I am trying to create a CouchDB Mango Query with an index with the hope that the query runs faster. At the moment I have the following Mango Query which returns what I am looking for but it's slow. Therefore, I assume, I need to create an index to…
Dogahe
  • 1,380
  • 2
  • 20
  • 50
1
vote
1 answer

How to set up replication from one docker couchDB to another?

I have the following docker containers running on my windows 10 host: PS C:\Users\jj2> docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS …
dot
  • 14,928
  • 41
  • 110
  • 218
1
vote
1 answer

I can't create a document in my couchdb database

I am new to web engineering and databases and I hope this is the right place for my question. I am trying to create a database with couchdb but unfortunately I can't create a document with more data than the id. If the document contains just the id,…
1
vote
1 answer

Sum two values in one view separately in CouchDB

So Assume I have the following two documents in CouchDB: { "_id": "197000000002", "_rev": "1-fbe819b01108f30d2e9e96f3fb46eff8", "iyear": "1970", "region_txt": "North America", "country": "130", "region": "1", "country_txt":…
Solaiman
  • 298
  • 2
  • 7
  • 22
1
vote
1 answer

Sum values in CouchDB documents

So assume I have the following two documents in CouchDB: { "_id": "197000000002", "_rev": "1-fbe819b01108f30d2e9e96f3fb46eff8", "country": "130", "region": "1", "country_txt": "Mexico", "nkill": "1", } { "_id":…
Solaiman
  • 298
  • 2
  • 7
  • 22
1
vote
1 answer

Automatic compaction in CouchDB 2.2

I have read the following article, because couchdb was busy almost all the space of my hard drive at an impressive speed. Thanks to this article I have managed to reduce the size of my database from 19 GB to 19 MB. But I would like the "compaction"…
Carlos
  • 201
  • 2
  • 10
1
vote
1 answer

Return default value for unknown keys in CouchDB query

I created a view in couchDB and I was able to query and get value for a key. But, if I query it with some key which doesn't exists in that view, it returns nothing, instead I would like to add some default value to be returned in such case. Is it…
Dinesh Namburi
  • 301
  • 3
  • 14
1
vote
2 answers

Getting total count of mapped/reduced records in CouchDB

The data in couch has a record for each contact type as follows. [{ "_id":"1" "contact_type":"AA" "contact_email" : "userA@domain.com" },{ "_id":"2" "contact_type":"BB" "contact_email" : "userA@domain.com" },{ "_id":"3" …
Aram
  • 954
  • 10
  • 17
1
vote
1 answer

Creating filtered indexes on couchdb

I've been trying to create a filtered index as per CouchDB 2.1 documentation, but failed miserably (at the bottom of the section there's an example for "index creation using all available query parameters"). Basically, I have a bunch of documents…
AVK
  • 645
  • 9
  • 22
1
vote
1 answer

CouchDB boolean filtering

I am trying to work with CouchDB filtering but I can not understand how it works So lets say, like the example they have: function(doc, req){ // we need only `mail` documents if (doc.type != 'mail'){ return false; } // we're…
JoCuTo
  • 2,463
  • 4
  • 28
  • 44