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

reduce output must shrink more rapidly, on adding new document

I have couple of documents in couchdb, each having a cId field, such as - { "_id": "ccf8a36e55913b7cf5b015d6c50009f7", "_rev": "8-586130996ad60ccef54775c51599e73f", "cId": 1, "Status": true } I have a simple view, which tries to return…
Sam
  • 4,302
  • 12
  • 40
  • 74
0
votes
1 answer

How to delete permanent view in Couchdb-Futon

I have got couchdb installed in windows OS. I created a temporary view using Futon and then saved it to make it permanent. Now i want to delete this permanent view. How to achieve this? Please advice.
Baggu
  • 1
  • 3
0
votes
0 answers

Can't access CouchDB Futon interface on Amazon EC2 server

I followed the installation instructions from this page: https://www.digitalocean.com/community/tutorials/how-to-install-couchdb-and-futon-on-ubuntu-14-04 I then changed the ownership of /etc/couchdb from root to ubuntu so that i can edit the…
0
votes
1 answer

Does CouchDB replication require an admin of the system or the database admin?

I setup some security on a database called test. The user with the name "user_test" is not a system Admin. Therefore, he has the admin permissions and member permissions on the test database. As stated : Creating design documents is restricted to…
Alexis Côté
  • 3,670
  • 2
  • 14
  • 30
0
votes
1 answer

How can I get a map/reduce result which is sorted within descending order of the "value" value?if also using list function can achieve that?

I have view map and reduce like this: Map: function(doc) { if(doc.type){ var usersLength = doc.users.length; for (var i = 0; i < usersLength ; i++) { …
Jamesjin
  • 371
  • 2
  • 6
  • 15
0
votes
1 answer

is there a way to clear duplication record from results?

I have a view but did have duplicated documents from the results of view as like following, how can I get the duplicate results and get the unique? thank you in advance { "total_rows": 9, "offset": 0, "rows": [ { "id": "xxxx", …
Jamesjin
  • 371
  • 2
  • 6
  • 15
0
votes
0 answers

CouchDb Views - reduce function returns null when there are more keys

I have a couchdb view with a reduce function function(doc) { if (doc.type === 'item') { emit(doc.storeid + '-' + doc.feedid, parseInt(doc.sku)); } } The above query returns more than 30K results My reduce function function (key,…
vyeluri5
  • 487
  • 5
  • 8
  • 18
0
votes
2 answers

Not able to receive crash reports in Acralyzer from ACRA

Below I have given all the crash logs printed in Logcat. I am crashing the app with the below code on a button's onclicklistener. The server is running and the device and server are in same wifi network. throw new RuntimeException("This is a…
Vishal
  • 130
  • 1
  • 11
0
votes
1 answer

Faster way to create view on couchDB

Is there a faster way to create view on CouchDB? My data is something like this: {"docs":[{ "c_custkey": 1, "c_name": "Customer#000000001", "c_address": "IVhzIApeRb", "c_city": "MOROCCO 0", "c_nation":…
Raphael
  • 99
  • 10
0
votes
1 answer

How do I create a query to count occurrences of tag words for each user in a dataset

I am pretty new to couchDB and having issues coming up with a query. This is an example of the data set I am working with { "_id": "data", "_rev": "3-b78ec99614827106f637148c73dbf876", "data": [ { "id": 0, "tags": [ …
user1314413
  • 103
  • 2
  • 14
0
votes
1 answer

CouchDB: Pre-filled fields when adding new documents?

In the CouchDB GUI, when I add a new document the _id field is the only field that appears by default. I must manually click "Add field" for each other field I want to add. This gets repetitive when I know every document in that particular database…
May
  • 11
  • 2
0
votes
2 answers

CouchDB - update multiple databases

I'm quite new to CouchDB... let say that I have a multiple databases in my CouchDB, one per user, each of db have a one config document. I need to add a property to that document across all dbs. Is it possible to update that config document in all…
macrog
  • 2,085
  • 1
  • 22
  • 30
0
votes
0 answers

CouchDB unable to Reduce Function

Hi all im starting to work with couchdb im trying to rereduce this reduce function function(key,values,rereduce){ if(rereduce === true){ //HELP HERE return results; } values.forEach(function(doc){ if(results[(doc.id-1)]){ …
0
votes
0 answers

How to implement multiple "where conditions(same as in SQL)" in COuchDB Views

I am using couch-db. I have write views which match only use single condition and just wondering how to write views in couch-db futon which returns the results by matching more than one conditions. e.g:I have some documents with attributes of…
0
votes
1 answer

CouchDB-Why my rerduce is always coming as false ? I am not able to reduce anything properly

I am new to CouchDB. I have a 9 gb dataset loaded into my couchdb. I am able to map everything correctly. But I cannot reduce any of the results using the code written in the reduce column. When i tried log, log shows that rereduce values as false.…
ars1989
  • 15
  • 7