Questions tagged [cloudant]

IBM Cloudant is a fully managed database service for hybrid multicloud applications — built on open source Apache CouchDB with a fully compatible API. Sync data to any cloud or to the edge.

Cloudant is a Massachusetts-based enterprise software company which provides an open source non-relational, distributed database service of the same name that requires zero-configuration. Cloudant is based on the Apache-backed CouchDB project and the creator of the open source BigCouch project.

Cloudant's service provides integrated data management, search, and analytics engine designed for web applications. Cloudant scales your database on the CouchDB framework and provides hosting, administrative tools, analytics and commercial support for CouchDB and BigCouch. Cloudant's distributed CouchDB service is used just like you would use standalone CouchDB, with the added advantage of your data being redundantly distributed over multiple machines.

Cloudant is often considered part of a new generation of 'NoSQL' databases that don't require fixed table schemas and is challenging the dominance of traditional relational databases (including the popular MySQL).

From Wikipedia entry on Cloudant.

1232 questions
4
votes
3 answers

Enable CORS on Cloudant local

I have setup a cloudant local database using docker image. When I try to send in a cloudant query using a JavaScript application hosted on localhost:8000 it gives me an CORS error. How do I enable CORS on Cloudant local? I have tried the…
anirus
  • 1,597
  • 2
  • 18
  • 24
4
votes
0 answers

Bluemix returns different result for querying Cloudant database

I have a Strongloop instance running on Bluemix. I have the same Strongloop running in one of my VM local. They two synchronize through git. My query code 100% works for querying Cloudant and outputting the query URL and param. When I run param in…
noob
  • 480
  • 3
  • 20
4
votes
2 answers

How to index multidimensional arrays in couchdb

I have a multidimensional array that I want to index with CouchDB (really using Cloudant). I have users which have a list of the teams that they belong to. I want to search to find every member of that team. So, get me all the User objects that have…
Blane Townsend
  • 2,888
  • 5
  • 41
  • 55
4
votes
1 answer

SSL handshake failure for liberty application using cloudant

I've been stuck on this far longer than I want to admit. I want to connect to cloudant/couchdb using WebSphere Liberty. I'm fairly new to Java app development, Liberty, Cloudant and Bluemix. I believe I need to add a SSL certificate for cloudant in…
Andre
  • 49
  • 1
  • 5
4
votes
1 answer

Does Cloudant on Bluemix have a performance issue?

I have a mobile app using Cloudant CDTReplicator to synch the local datastore and the remote DB. The app was fast at the start, but then the synch would take more than 10 seconds when there are just 180 normal documents, each having a few string…
Zheng Xie
  • 415
  • 3
  • 13
4
votes
2 answers

Getting the latest (timestamp wise) value from cloudant query

I have a cloudant DB where each document looks like: { "_id": "2015-11-20_attr_00", "key": "attr", "value": "00", "employeeCount": 12, "timestamp": "2015-11-20T18:16:05.366Z", "epocTimestampMillis": 1448043365366, "docType":…
bluetea
  • 85
  • 1
  • 6
4
votes
1 answer

pouchdb - get all data from database

I need to get all the documents from PouchDB database . Can anyone tell me how to get the 'doc' from the callback function? I would like to return it as response object and also to get it in console output. var db = new…
4
votes
2 answers

How to get Couchdb/Cloudant design document ready for search all fields?

I have a very simple database contains some data modals stored in Cloudant. { "_id": "units_modal_the_oaks_preliminary", "_rev": "1-b541013bc008680b706ea01969dedb7a", "type": "units_modal", "label": "Preliminary Modal", "notes": "Notes…
Phil Li
  • 323
  • 1
  • 2
  • 8
4
votes
2 answers

How can I securely connect to Cloudant using PouchDB?

I am creating a mobile app for Android and iOS using Cordova/PhoneGap and am using IBM's Cloudant database for storage. I am using the PouchDB javascript library to access the Cloudant database. Currently I have this code to access it... db = new…
David
  • 57
  • 6
4
votes
2 answers

how to get password while replicating data in cloudant bluemix?

I am trying to replicate database in cloudant and I added a database name in the "My Databses" entry tab. On clicking replicate it's asking for a password I used my bluemix password but it's not working. can anyone help to get this password ?
Venkat Reddy
  • 117
  • 1
  • 5
4
votes
1 answer

reverse proxy with a connection pool using a custom session endpoint?

I'm currently using nginx as a proxy to provide connection pooling to a backend database service that uses basic HTTP authentication on connections: user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
4
votes
1 answer

how to prevent groovy RESTClient from url encoding a path with %2F codes in it?

I have some groovy code to make a GET request against a server: import groovyx.net.http.RESTClient import static groovyx.net.http.ContentType.* import groovyx.net.http.HTTPBuilder def server = new RESTClient( 'https://myaccount.cloudant.com' …
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
4
votes
1 answer

How to combine multiple CouchDB queries into a single request?

I'm trying to query documents in a Cloudant.com database (CouchDB). The two following query requests work fine separately: { "selector": { "some_field": "value_1" } } { "selector": { "some_field": "value_2" } } Cloudant's documentation seems to…
Bob Arlof
  • 940
  • 10
  • 19
4
votes
1 answer

Logging output in Cloudant

Is it possible to use the log method in Cloudant to log output in javascript functions? I know it can be done in CouchDB. The problem is that I don't know whether the log file is provided or not in Cloudant.
theMoonlitKnight
  • 431
  • 8
  • 17
4
votes
1 answer

CouchDB Views and Design Documents

For CouchDB you can create multiple views and/or multiple design documents. Is it better to group views in the same design document or keep each view to its own design document?
Justin Elkow
  • 2,833
  • 6
  • 28
  • 60