Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

I'm working with CouchDB and Mango queries and I have a JSON structure for my documents with fields like "nome" (name) and "age". I want to modify all documents in my database by ...
MIGUEL SOMBRIO's user avatar
1 vote
0 answers
63 views

I've been trying to use Tweepy to stream tweets using the Twitter API and save them into a CouchDB database. However, the database remains empty, and no tweets are being saved. I've checked my Twitter ...
rahes's user avatar
  • 71
0 votes
0 answers
82 views

I want to have an instance of CouchDB running, and access it from a Python frontend. couchdb-python seems like a good option, but it's been unmaintained since 2019. Is it a viable idea to use it ...
theo's user avatar
  • 209
0 votes
1 answer
284 views

We're moving and updating our database because it's due for it, but we have an issue concerning authentication. We'd like to connect to the database only with an authentication key. Our old CouchDB ...
Olivier Péloquin's user avatar
1 vote
1 answer
303 views

Disclaimer: Both Python and CouchDB are new for me. So far my "programming" has mostly consisted of Bash scripts. I'm trying to create a small script that updates objects in a CouchDB database. The ...
lucaschultz's user avatar
1 vote
1 answer
225 views

I accidentally deleted all the docs in a CouchDB database and I want to undelete them. CouchDB version = 2.2.0 Python = 2.7 and I'm using the python-couchDB library. My CouchDB is not doing any ...
CMant's user avatar
  • 31
0 votes
1 answer
496 views

so I am new in CouchDB and I was trying to write some python program that will upload a JSON file, upload a VIEW, and return me the values in an array. I wrote the view as if(doc['city.berlin']) ...
WestCoast's user avatar
0 votes
2 answers
187 views

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?
user avatar
0 votes
2 answers
79 views

I am trying to transfer all the documents out of my large couchdb db, and appear to hit a serious slow down shortly after starting. The request being used to get the documents is: url = 'http://<...
nicholas.reichel's user avatar
0 votes
1 answer
304 views

The problem is I have multiple couchdb local clients databases say A_db, B_db, C_db which is replicating to a couchdb server master database says server_db. Now each client is creating a document say ...
atultherajput's user avatar
2 votes
2 answers
3k views

I have a database and I want to truncate all records, I know it is possible to just add a _deleted key to every document or call db.delete() on CouchDB-python library. I am using the delete of couchdb-...
ellaRT's user avatar
  • 1,386
0 votes
2 answers
287 views

I have some couchdb document need to be removed, Is there good way/steps to backup and delete and backout those document from couchdb?
Jamesjin's user avatar
  • 381
1 vote
1 answer
358 views

Does CouchDB have a way to return back the documents that do not meet a certain filter criteria? I am using Python' API and provided an example below: couch['test_db'].view('doc/entrybyname', key=...
Brian's user avatar
  • 427
0 votes
1 answer
212 views

I have a map function and reduce function to count all the occurrences of a key. The code is below for CouchDB 2.0 design document: Map Function function(doc) { emit(doc.domainID, 1); } Reduce ...
Brian's user avatar
  • 427
-1 votes
1 answer
528 views

I am trying to view a Couchdb database in the browser named event_db. However, when I navigate to the following url: http://localhost:5984/_utils/database.html?event_db I get the an Error: not found ...
Brian's user avatar
  • 427
1 vote
0 answers
212 views

I have spent a couple of months developing an application that uses the python module for couchdb, and now I want to deploy it, I can't remember how I first installed it, I thought it was a simple: ...
iFunction's user avatar
  • 1,279
2 votes
2 answers
7k views

How do I do this simple thing, I just want the number of documents in a database. So far I am using a loop function in python to do this, but it seems an incredible inefficient way of doing this. ...
iFunction's user avatar
  • 1,279
1 vote
1 answer
1k views

I'm using python-couchdb library to listen to the changes in database using continuous feed. I want to apply a filter which gives me only those documents that have a key read equal to true. With ...
Sanyam Khurana's user avatar
0 votes
0 answers
88 views

https://stackoverflow.com/a/24222187/4240261 Will I be able to upload as an attachment the largest possible file (¿ ~4GB) that could fit in the FAT32 limit to my CouchDB database, or for such files I ...
Mika Feiler's user avatar
1 vote
1 answer
897 views

I have CouchDB 2.0 server. I need to create, delete, get, update and query the databases via python. On 1.6 version there was a couchdb-python lib. What is the best option here ? Work with the ...
Oz Bar-Shalom's user avatar
0 votes
0 answers
448 views

I am new to CouchDB / PouchDB and until now I somehow could manage the start of it all. I am using the couchdb-python library to send initial values to my CouchDB before I start the development of the ...
TotoSchillaci's user avatar
4 votes
0 answers
914 views

I've managed to install CouchDB onto a remote instance running Ubuntu, and can see that the DB is responding to my calls using curl (via the command line). Now, if I wish to access futon, I have to ...
Michael Westen's user avatar
1 vote
0 answers
111 views

I have created a view on the db which emits key,value pair like so: emit([doc.some_key, doc.inner_doc], doc) Note that doc.inner_doc can be just any other JSON document. Now, there is a problem while ...
ham's user avatar
  • 716
0 votes
1 answer
82 views

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,...
Jamesjin's user avatar
  • 381
3 votes
1 answer
397 views

I'm trying to store and retrieve user from the database _users using couchdb-python. I'm a beginner here with couchdb. I mapped the python class User with couchdb Document couchdb.mapping.Document ...
rdbisme's user avatar
  • 887
4 votes
2 answers
4k views

I am writing a small Python program that loads some documents into couchdb. It would be very convenient to check whether a database with a certain name already exists, so I can either create a new ...
arne.z's user avatar
  • 3,596
0 votes
1 answer
369 views

I want to call some functions but I don't know how to import the package. I tried like follows but it failed. How can I do? (I want to use some third-party package to analyzing each doc, the code ...
Jo Yang's user avatar
1 vote
1 answer
2k views

I have a database with around 2 million documents. This database contains a lot of duplicate documents. I wrote a map reduce function in CouchDB-Futon, which removes the duplicates. Now I want to get ...
user avatar
0 votes
1 answer
1k views

I retrieved user information using api.followers in tweepy and am trying to store them in couchDB, but I keep getting this error message "u'doc validation, u'Bad Special document member" _json". ...
akilandeswary thiagarajan's user avatar
2 votes
1 answer
432 views

For example I have documents in couchdb which have the following Ids (1,2,3,4,...,n) and I want just to retrieve e.g. three Ids (2,4,7). Do I have to query each of them or can I pass anyhow an array ...
user977828's user avatar
  • 7,739
1 vote
1 answer
632 views

I found here a nice template for a pagination. However, this example was done with SQLlite, but I rewrote in order to be able to use CouchDB. This script creates users and save them to CouchDB: ...
user977828's user avatar
  • 7,739
2 votes
1 answer
419 views

The following document is a small example and is stored in CouchDB. { "_id": "Test4", "referenceName": "refA", "positions": { "A": 422, "B": 5442 }, "details": { ... ...
user977828's user avatar
  • 7,739
0 votes
2 answers
2k views

How is it possible to use map and reduce functions in CouchDB-Python, because the below code does not return anything? Is it also possible to disable reduce function if it is not needed? import ...
user977828's user avatar
  • 7,739
0 votes
1 answer
104 views

I have the following documents in CouchDB stored: { "_id":"1", "_rev":"1-e3ff3eb51ccf90e0446ef086fcc6a06c", "sub_name":"A01", "type":"Test", "name":"A", "pos":828288 }{ "_id":"2", "...
user977828's user avatar
  • 7,739
0 votes
1 answer
166 views

I do not know how to implement the following query in CouchDB: chr.letter between two objects/dicts in chr are not the same and no X, and the document must be in range 200000 - 2000000, but I guess it ...
user977828's user avatar
  • 7,739
0 votes
1 answer
1k views

I have a list r which contains 12 lists as elements. Each list contains some elements (i[0] to i[5]) which are the same compare to other lists. I tried only to insert unique documents so as result I ...
user977828's user avatar
  • 7,739
0 votes
1 answer
312 views

How is it possible to define own _id in couchdb-python (0.9), because when I tried '_id': i[5] I got the following error message? $ python test3.py 828288 Traceback (most recent call last): File "...
user977828's user avatar
  • 7,739
0 votes
1 answer
4k views

I got $ python test3.py 828288 Traceback (most recent call last): File "test3.py", line 48, in <module> test.pos = i[3], File "/home/mic/.virtualenvs/test/lib/python2.7/site-packages/...
user977828's user avatar
  • 7,739
0 votes
1 answer
598 views

I am trying to Delete the whole data from the CouchDB and again i am trying to write same data with modified **_id field and some extra field ** but i am getting following error : { '...
saravanakumar's user avatar
0 votes
1 answer
200 views

I have a couchdb db instance where each document has a unique id (string). I would like to go over each document in the db and perform some external operation based on the contents of each document (...
Prakash's user avatar
  • 63
1 vote
1 answer
388 views

I have this ViewDefinition: """ Models id.""" models = ViewDefinition('models', 'by_authors', """ function(doc) { if (doc.type == "definition") { for (var i = 0; i < doc.authors.length; i++) ...
Natim's user avatar
  • 18.2k
0 votes
3 answers
547 views

I am using IDE PyCharm 3.4 and python 3.3 (tried use python 3.4 but the same problem). I want to install CouchDB package through IDE: Step by step: 1) Install "Pygments" package (because it's ...
Anton Erjomin's user avatar
1 vote
1 answer
272 views

While installing couch DB 1.5.1 from source, in the step where make is called I get this error make[1]: *** No rule to make target `THANKS', needed by `THANKS.gz'. Stop. make[1]: Leaving directory `...
Abbyss's user avatar
  • 155
1 vote
1 answer
7k views

I am trying to update an already existing document by ID. My intention is to find the doc by its id, then change its "firstName" with new value coming in "json", then update it into the CouchDB ...
Amit's user avatar
  • 569
1 vote
1 answer
687 views

I am trying to add a user in the "_security" document of a database with python-couchdb. I am getting an error because the "_security" document doesn't have an "_id" attribute. import couchdb couch=...
vkefallinos's user avatar
0 votes
1 answer
3k views

Given the following example data : [ "this", 1000, { "that": 1 } ] (which is valid json according to jsonlint.com) data=json.loads('["this",1000,{"that":1}]') when I try to ...
Matt's user avatar
  • 79
0 votes
1 answer
330 views

How is it possible to set group=True in couchdb-python ? from couchdb import Server from couchdb.mapping import Document, TextField, IntegerField, DateTimeField, ViewField server = Server() db = ...
user977828's user avatar
  • 7,739
1 vote
2 answers
596 views

How is it possible to execute in couchdb-python a map function which is in ViewField define >>> from couchdb import Server >>> from couchdb.mapping import Document, TextField, ...
user977828's user avatar
  • 7,739
3 votes
1 answer
940 views

I did not find the flush button for bucket in couchbase admin UI at port 8091 .May be because of this http://www.couchbase.com/issues/browse/MB-5351 . Then I saw this How to delete all items in the ...
Harish Kayarohanam's user avatar
0 votes
1 answer
348 views

I'm trying to use the Document mapping classs for the python couchdb lib but I am finding the docs extremely inadequate It includes a few lines of code on how to define a view on the Document ...
WebSnake's user avatar