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
0 answers

How to change the HTTP request timeout in CouchDB?

I am doing a bulk insert of large number of documents in CouchDB and when multiple bulk inserts are done in parallel, I'm getting 504 Gateway Timeout from CouchDB. I think the HTTP requests are getting timed out. How do I increase this timeout?
Rahib Rasheed
  • 317
  • 1
  • 10
0
votes
1 answer

Cannot save ddoc/index with pouchdb

I'm trying to create an index on my data, but I keep getting this error. I've removed all permissions from the database temporary to get it work but still no success. { error: 'error_saving_ddoc', reason: 'Unknown error while saving the design…
Justin Young
  • 2,393
  • 3
  • 36
  • 62
0
votes
1 answer

Json array iteration in futon

I am using CocuhDB I have this document structure {"master": false, "type": "a", "company": 9, "products": [ { "unit": { "id": 9, "isMp": false, "_id":…
JoCuTo
  • 2,463
  • 4
  • 28
  • 44
0
votes
0 answers

How to to create search index submenu w/ v2.3.1 & up

I've been watching Fauxton tutorials that were created less than a year ago and noticed they have an option to view indexes under Design Documents. How does one configure Fauxton to show these so I too can create create/add search indexes or has…
Mix Master Mike
  • 1,079
  • 17
  • 26
0
votes
2 answers

couchdb on docker: open console

I am new to both dockers and couchdb. I have a Linux box (let's call it A) on which I have docker installed. On this, I am running a container (lets called it docker1) on which I've installed couchdb. I now need to open the couchdb console and open…
Omi
  • 976
  • 2
  • 20
  • 35
0
votes
1 answer

Setting up CouchDB 2.2 on windws10

I have isntalled CouchDB 2.2 on my computer over Windows10. All the CouchDB configuration I have is the default after the installion. I can access to Futon doing localhost:5984/_utils or 127.0.0.1:5984/_utils But the datebase is not accesible…
JoCuTo
  • 2,463
  • 4
  • 28
  • 44
0
votes
2 answers

CouchDB's replicated DB is a copy or reference to original?

As per http://guide.couchdb.org/draft/replication.html Replication synchronizes two copies of the same database, allowing users to have low latency access to data no matter where they are. These databases can live on the same server or on two…
Apogee
  • 689
  • 8
  • 19
0
votes
2 answers

Creating Views using node-couchdb module

As I am new to CouchDB, I wanted to create the view using a node-couchdb module? I am able to create a view using UI(Futon), but I want to create a view using node code using a node-couchdb module. Also, how can I add a design document? Is adding…
0
votes
0 answers

Can't view the attachments

I have installed CouchDB 2.1.1 downloaded from http://couchdb.apache.org/ in Red Hat enterprise Linux 7.4. As usual I am using the "Fauxton" UI for creating/accessing the databases. CouchDB is accessible from the url …
yash.kumar
  • 16
  • 1
0
votes
1 answer

How to connect operator $or & $and in couchDb mango?

I have document in witch has field "leader". Leader can be type string or array. For example {leader: "id"} or {leader: ["id"]}. How I can get all document where leader = id; If I use operator $all, I search in array, if use operator $or I search in…
0
votes
1 answer

Deactivate user from CouchDB database

I have created a list of users in _Users database in couchDB, now I want to deactivate user, meaning the user cannot be logged into the the CouchDB. I do not want to delete the user from _Users database list, instead the user should not able to…
roger king
  • 147
  • 1
  • 2
  • 10
0
votes
2 answers

How I can use operator OR in CouchDB?

I need get doc where createdBy=userId or updatedBy= userId. I have next map func in CouchDB: function (doc) { if (doc.$doctype === 'Records') { emit([doc.createdBy, doc.updatedBy], doc); …
Volodymyr Zh
  • 317
  • 7
  • 19
0
votes
2 answers

couchdb primary key workaround

I am looking for a workaround for primary key feature in couchdb. I am saving doc in json format to couchdb externally. Is there any simple way to check if value of a particular field exists?
user4497207
0
votes
0 answers

how to merge two pouch DB data as in one couch DB

This is my Pouch DB data for user "A" {"people": [{"id": 1,"dept_id": 3,"user": "A",},{"id":2 ,"dept_id": 1,"user": "B",},{"id": 3,"dept_id": 1,"user": "C",}]} This is my pouch DB data for user "B" {"people": [{"id": 1,"dept_id": 1,"user":…
shiny
  • 1
  • 5
0
votes
1 answer

Couchdb view on large documents with strings as keys times out

I'm trying to create a view in CouchDB 2.1 for documents that are very large (around 300k-900k lines for each document, around 15-20 documents in total). The documents look like this: { "222123456": { "_id": "222123456", "type": "Order", …