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
3
votes
2 answers

Getting the latest documents from a Cloudant/CouchDB database from NodeJS

I would like to take the last n documents from my Cloudant database using a Node query. So far I have narrowed it down to the find() function, but the documentation only really explains how to retrieve all documents containing an absolute value, for…
Chris Watts
  • 6,197
  • 7
  • 49
  • 98
3
votes
2 answers

Can Cloudant API Keys be deleted?

Cloudant provides an API for creating API keys by issuing a POST to /_api/v2/api_keys https://docs.cloudant.com/authorization.html#creating-api-keys However, I do not see any documentation which states that an API Key can be deleted, so my…
Kyle
  • 51
  • 5
3
votes
4 answers

How do I update a doc in Cloudant using Cloudant Node.js

So, what I'm doing should be really simple, and maybe it is and I'm just doing something wrong. I want to update an existing document in my database but I'm having some issues, can someone please advise? Nano's Documentation states the following for…
Creights
  • 907
  • 1
  • 12
  • 25
3
votes
0 answers

skip docs in cloudant search query

I am trying to achieve pagination using cloudant search query https://username.cloudant.com/dbname/_design/searchall/_search/test?q=myquery&include_docs=true&stale=ok&limit=10&skip=5 but skip option is ignored! , if skip is not available then…
invariant
  • 8,758
  • 9
  • 47
  • 61
3
votes
1 answer

Cloudant skip parameter not working

I'm trying to do paging of results from a Cloudant database. I've tried using bookmark, but the fact that the final page of results still has a bookmark is a problem for me, since it means that apps using the database can't tell if there's a 'next…
Sam Dutton
  • 14,775
  • 6
  • 54
  • 64
3
votes
1 answer

Applying Cloudant Search Index Query with no limit

Results from search index queries limited to 200 rows while sending limit as parameter, whereas if we set no limit param it only gets 25 result set. How can I get the search index queries with no limit and getting result set for all possible count?
Shantanu Nirale
  • 105
  • 1
  • 10
3
votes
0 answers

PouchDB.sync -> GET https://myaccount.cloudant.com/?_nonce=123... 403 (Forbidden)

I'm trying to sync to Cloudant using Pouch 3.3.0 using the following code: var url = 'https://username:password@myaccount.cloudant.com/mydb'; var sync = PouchDB.sync('mydb', url, {live: true}) .on('change', function (info) { …
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
3
votes
2 answers

Search within date range filtering in cloudant lucene search?

In json document, We have start date and end date. For ex : {"start-date" : "2014-12-05","end-date":"2015-03-15"} I want to retrieve the records exist between the range of start-date and end-date.How can implement above scenerio in cloudant lucene…
3
votes
0 answers

What means the two default values in the ORDER array of cloudant search query?

I am trying to understand the logic behind the order of results of a cloudant search feature. When I make some search query in my Cloudant DB, I get, for example, the following…
Danilo Oliveira
  • 280
  • 2
  • 12
3
votes
1 answer

Cloudant: How to create an index for "Sort" function?

The problem I am facing is on creating the correct index to query through my Cloudant database. The JSON data structure I am using looks similar to below. { "customer" : "123", "time" : "2014-11-20" } I want to sort the documents based on…
Erik
  • 95
  • 2
  • 7
3
votes
0 answers

CouchDB document update date

When I query a document, I want to see the last updated date. Is this possible with couchDB? Or do I need to store that information when I update it? I'm using cradle: db.get('key-name-123', function (err, doc) { console.log(doc); // I need the…
wesbos
  • 25,839
  • 30
  • 106
  • 143
3
votes
1 answer

cloudant full text search among a sub-groups of documents

I am building a messaging system with Cloudant, comprised of 'message' and 'membership' documents: message documents: {"_id":"1","type"="message","group":"a","text":"this is message 1"}, {"_id":"2","type"="message","group":"a","text":"this is…
Will Olsen
  • 325
  • 1
  • 2
  • 9
3
votes
1 answer

Couchapp with partial reader access

It would be very elegant to run a full couchapp on Cloudant, but is seems there is no way of creating a public login page while the rest of the database requires authentication. Can I serve public pages without opening the entire…
Mikkel
  • 762
  • 5
  • 17
3
votes
1 answer

Access cloudant db using .Net HttpClient

I am attempting to connect to Cloudant (a couch-style DB) from a .Net MVC application. I am following the guidelines for consuming a web API using the HttpClient, as illustrated…
3
votes
1 answer

Moving data between production and staging databases on Cloudant

I have two databases on Cloudant, staging and production, which are being consumed by a Node.JS based web app running on Heroku, also with staging and production instances. The web app includes an admin area where admins can check on database…
Jed Richards
  • 12,244
  • 3
  • 24
  • 35