I've been struggling to find any documentation on how to install previous versions of CouchDB onto Ubuntu from a package. Following any documentation such as https://docs.couchdb.org/en/2.1.2/install/unix.html#installing leads to installing of the…
I used couchDB with PHP using guzzle to post,put,get and delete data. post, get, delete working fine but problem occur in put. When I send put request document updated with only updated attribute values and all other attributes remove in the…
I'm learning about CouchDB, and I don't get it: When I create a view, does the view copy the data that's inside the emit function or it only creates a new index based on it?
For example, let's suppose I have a database with documents like this…
I'm learning CouchDB and I just read that when it comes to confict resolution, CouchDB keeps two revisions of the document, the winning one and the conflicted one. Does CouchDB keep several revisions of the same document? How can I get a specific…
In Fauxton, I've setup a replication rule from a CouchDB v1.7.1 database to a new CouchDB v2.3.0 database.
The source does not have any authentication configured. The target does. I've added the username and password to the Job Configuration.
It…
I am trying create an equivalent of create/update trigger used in traditional RDBMs. create_ts is being created fine, however update_ts part is not working for me.
"updates": {
"add_ts": "function(doc, req)
{ if(!doc){
…
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"…
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 compaction and 1260 documents are listed in the…
I have documents containing lists of keywords. How can I query such that a search for e.g., the keywords bela and fleck returns only documents that have both of those keywords:
{
"_id": "track/bela-fleck/big-country",
"title": "Big…
As I'm about to implement it myself, I'm curious to know how people handle
incremental backups for their DB's.
The straight-forward way, as I see it, is to shutdown couch and use a tool
like rsync or duplicity to backup db files. It should do the…
I have a single instance of couch running (version 2.1.1). In the configuration settings for clustering it is set to have 3 replicas of each document (n=3).
Are there actually 3 copies of each document on my single instance? If so how is that…
I store products in the following way in a CouchDB database:
{
"_id": "1ce330a867a803fd10082c4513000fe5",
"_rev": "4-a5eae6f790ea8b9cedea53db50a13fef",
"type": "Product",
"name": "Apple",
"price": 1
}
I'd like to create a validation to…
I am working on some conflict resolution, and I am running through a test database that has a worrisome number of conflicts. I am looking for a way to watch a burn down of the conflicts to verify that my script is working.
Is there a way to…
I currently am trying to convert my couchdb 1.6.1 files to couchdb 2.1.1
I am trying to use the "couchup" utility recommended by Apache in there documentation ( http://docs.couchdb.org/en/latest/install/upgrading.html )
I copied my files from the…