Questions tagged [couchdb-2.x]

10 questions
5
votes
4 answers

Installing CouchDB 2.1 on Ubuntu Server 16.04

Does anyone know how to install CouchDB on Ubuntu Server 16.04? The manual in the CouchDB docs seems to be broken and a simple apt-get install couchdbresults in Version 1.6.1.
Bernd
  • 169
  • 2
  • 9
3
votes
1 answer

CouchDB Mango Queries (CouchDB 2.0.1)

I am trying to query the following data: (obtained from:https://dotnetcodr.com/2017/06/21/introduction-to-couchdb-with-net-part-17-starting-with-mango-queries/) { "post_code": 35801, "country": "United States", …
jlb333333
  • 371
  • 2
  • 13
2
votes
1 answer

How can I programmatically skip the pink Ubuntu user prompt when using `apt-get`?

When installing CouchDB 2.1 on Ubuntu using the the apt-get package manager, like so: echo "deb https://apache.bintray.com/couchdb-deb xenial main" | sudo tee -a /etc/apt/sources.list curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo…
Zach Smith
  • 8,458
  • 13
  • 59
  • 133
1
vote
0 answers

Recover deleted document

I would like to recover deleted document. I did following To get id of doc: curl…
Apogee
  • 689
  • 8
  • 19
1
vote
0 answers

couchdb design doc code

New to couchdb. I came to know that temporary views cannot be created in couchdb 2.0. Is there anyway to create a design doc in couchdb using django. Am looking for an alternative way to do the below code server = couchdb.Server(url) db =…
Teenu TTT
  • 27
  • 2
1
vote
1 answer

Combine CouchDB databases with replication while recording source db

I’m just starting out with CouchDB (2.1), and I’m planning to use it to replicate confidential per-user data from a mobile app up to my server. I’ve read that per-user databases are the best way to do this, and I’ve set that up. Each database has a…
Rob Hogan
  • 2,442
  • 19
  • 23
1
vote
0 answers

Can you estimate build time of CouchDB JavaScript views?

I have a very simple view to test indexing a CouchDB database with around 44 million documents. The view looks like this: function(doc) { if (doc.type_) { // I added a type_ property to each doc emit(doc.type_, 1); }; }; And the results of…
Zach Smith
  • 8,458
  • 13
  • 59
  • 133
0
votes
1 answer

How to find a document using a value to search in a range?

The database is the range of geolocation of IP address and each document look like this; { "_id": "1000013824", "_rev": "1-b747bd47d44efe619c9b4f8d867131ad", "f": "1000079359", "p": "CN" } I created a view to make the output like…
user9027927
0
votes
1 answer

Does every node in a CouchDB cluster have copy of the data?

More I read the documentation, more I get confused. http://docs.couchdb.org/en/2.1.1/cluster/theory.html Let me put my question in simple way: I have 3 nodes cluster having below configuration: n=3, q=8 Would this configuration make sure that in…
Pulkit Anchalia
  • 766
  • 7
  • 8
-1
votes
2 answers

I am not able to do create database in CouchDB 3.x with Admin

Just installed couchdb 3.00 version in windows machine and configured as single node. Defined admin in installation, even after installation. Restarted couchDB after definitions. My admins appears in UI: But when i try to create db via shell…
İsmail Altun
  • 21
  • 1
  • 5