Questions tagged [couchdb-2.0]

Use couchdb-2.0 for questions specific to the 2.0 major release of CouchDB and its minor releases.

References

122 questions
1
vote
1 answer

Retrieve deleted document with Cloudant

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…
Nate
  • 7,606
  • 23
  • 72
  • 124
1
vote
1 answer

Creating filtered indexes on couchdb

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…
AVK
  • 645
  • 9
  • 22
1
vote
0 answers

Is CouchDB/PouchDB a viable solution for my project? Any advice is welcome

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…
Wesley - Synio
  • 654
  • 5
  • 11
1
vote
1 answer

Why are there two ways to update documents?

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…
Magiranu
  • 299
  • 4
  • 27
1
vote
0 answers

PouchDB continuous replication without longpoll

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…
1
vote
1 answer

Unable to DELETE or GET couchdb2 databases

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…
jkndrkn
  • 4,012
  • 4
  • 36
  • 41
1
vote
1 answer

Sequence number bug in CouchDB 2 or is there another way to compare sequence numbers?

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…
redgeoff
  • 3,163
  • 1
  • 25
  • 39
1
vote
0 answers

Firewalld seems to be blocking connecting to my CouchDB 2.0

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…
WebSnake
  • 62
  • 8
1
vote
1 answer

Couchdb 2.0 replicate multiple user databases to single db

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…
Doug
  • 14,387
  • 17
  • 74
  • 104
1
vote
1 answer

Couchdb 2.0 extremely slow PUT over external network, fast locally

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…
steved
  • 31
  • 5
1
vote
1 answer

Why use Elasticsearch with CouchDB when CouchDB 2.0 has /db/_find?

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…
betelgeuz
  • 309
  • 4
  • 11
1
vote
1 answer

Error while connecting db

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…
1
vote
1 answer

CouchDb 2.0: update_seq is not a number

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 …
Piyush Srivastava
  • 357
  • 1
  • 4
  • 21
1
vote
2 answers

Setup CouchDB 2.0 Cluster

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…
1
vote
0 answers

_rewrite section stringified function isn't working proprely

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…
Davelop
  • 11
  • 3
1 2 3
8 9