I have deleted documents by mistake in Cloudant but can't find a way to retrieve them. I have followed this tuto: http://garmoncheg.blogspot.com/2013/11/couchdb-restoring-deletedupdated.html
And this answer: Retrieve just deleted document
Without…
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…
I have been reading up a lot about CouchDB (and PouchDB) and am still unsure what the best option would be for a project of mine.
I do have a possible way to solve the project in my head based on what I have read so far, but I am unsure about things…
As a CouchDB beginner I'm having a hard time understanding how to update documents.
When I read the docs I find this which is quite confusing for me:
1) Updating an Existing Document
To update an existing document you must specify the current…
Is it possible to have continuous replication without using the longpoll feature. We are going to have around 300 clients connecting to a CouchDB server proxied via a Nodejs/Express server, and I feel this is going to affect normal requests.
I…
I have a testing script that creates and deletes testing databases. At some point today it started failing. Digging further it looks like several of my testing databases are in an inconsistent state.
The databases appear in Fauxton with the message…
I’m digging deeper into CouchDB 2 and I’m finding some unexpected ordering with sequence numbers. In one case, I found that an early change in a _changes feed has the sequence number…
I'm trying to set up a CouchDB 2.0 instance up on my CentOS 7 server.
I've got it installed and running as a systemd service and it responses with its friendly hello world message when I access it from the server using 127.0.0.1 or 0.0.0.0
$ curl…
I am using couchdb and each user has their own database.
However, I have a web app that should be able to look up an _id in any database and return the document. With thousands of users, querying across thousands of couchdb instances would be…
Environment:
ubuntu 14.04 LTS,
Erlang 19.3-1, libmozjs185-dev libmozjs185-1.0 libicu-dev,
Couchdb 2.0 built from source
Everything works perfectly, except posting data to Couchdb over the network results in around 60Kb/sec, whereas any other network…
We are reaching a phase in our project now where we would like to search in our documents with a regex that match some strings. CouchDB does now allow it with the 2.0 version and /db/_find which is great. Before that you would need to use…
I am using CoucheDB2.0 and got below error message
Text:CHARACTER:net.sf.json.JSONException: JSONObject["update_seq"] is not a number.
while below line was executed -
Database studentCouchDb = studentDbSession.getDatabase("mycompany");
I am…
According to official doc of couchDb 2.0
http://docs.couchdb.org/en/2.0.0/api/database/common.html
GET /{db}
Gets information about the specified database.
Parameters:
db – Database name
Request Headers:
Accept –
application/json
…
I am trying to setup a CouchDB cluster with some Raspberry Pi for a edge computing project. But all I did until now wasn't successful. I don't get a cluster working correctly.
This is what I did:
I followed the setup guide…
I tried CouchDB's rewrite function, see: http://docs.couchdb.org/en/2.0.0/api/ddoc/rewrites.html at "Rewrite section a is stringified function", but it seems it doesn't work. I used the example as a base.
This is mydb _design/router rewrites…