couchdb

Tagging schema for CouchDB. Would this work?

I am wondering if the following scenario would be amenable to CouchDB? I am building a web-based flashcard application. Users can create flashcards (question on one side, answer on the other). Flashcard authors and other users can tag flashcards with keywords/phrases. Users can retrieve/generate virtual stacks of cards based on tags inc...

Storing files (videos/images/music) in CouchDB/Cloudant vs CDN (CloudFront)?

I am new to CouchDB/Cloudant and CDN (CloudFront). I am about to build an application using CouchDB as database. This web application will handle a lot of files. I know that CouchDB can store files in the database as attachments. But then I have heard about leveraging CDN to store and distribute the files all over the world. My quest...

CouchDB and MongoDB really search over each document with JavaScript?

From what I understand about these two "Not only SQL" databases. They search over each record and pass it to a JavaScript function you write which calculates which results are to be returned by looking at each one. Is that actually how it works? Sounds worse than using a plain RBMS without any indexed keys. I built my schemas so they d...

Couchdb on Android

I am trying to evaluate couchdb and its potential for solving the sync problem on Android but I can't find any documentation that answers my questions regarding how replication to Android devices works. It looks like the focus todolist couchapp is intended to demonstrate what I am looking for. Does it automatically sync todo's between ...

Couchdb - Block futon for readers users

Hello, I want to know how block the acess to futon (_utils) in couchdb for readers, allowing the access only for admins. I need to do this why if a reader user acess the futon he can see the name of all my databases and how many documents there are. My application should let a reader acess an document only if he have the id of them. ...

Can I query a view in CouchDB using mapreduce?

I have this problem that I think would require me to do multiple(two) mapreduces to get the expected result. Is this possible in CouchDB? If not, A are there other database engines that might support this? ...

Full Join/Intersection in couchdb

Hi, I have some documents which have 2 sets of attributes: tag and lieu. Here is an example of what they look like: { title: "doc1", tag: ["mountain", "sunny", "forest"], lieu: ["france", "luxembourg"] }, { title: "doc2", tag: ["sunny", "lake"], lieu: ["france", "germany"] }, { title: "doc3", tag: ["sunny"], lieu: ["b...

couchdb 1.0.1 etc/init.d/couchdb start prompts password

I have created a user "couchdb" and installed couchdb 1.0.1 from source, I have also given permission for the user "couchdb" as given in http://chrismckee.co.uk/setting-up-couchdb-on-ubuntu/. Also rather than installing couchdb in the default location i used prefix option to change the location. Now when i start the couchdb form the i...

Pull data from one couchdb doc via ids in another (Python)

I have two databases in CouchDB - DB1's documents are user data - name, email address, username, password but within one field that I store a list of the ID's saved in DB2 where user projects are saved (containing a username field and some Textfields. Example DB1 Document (Users) { "_id": "bobsmith1000", "_rev": "83-1...

CouchDB Authorization on a Per-Database Basis

Hi, I'm working on an application supported by CouchDB. Essentially, I want to create a database for each individual user of my app. To accomplish this, the admin user will create the database, but going forward, the user will need to access their database (using HTTP Auth over SSL). I've been having a hell of a time figuring this out. ...

Couch DB bulk update using handlers

Hi, I'm using CouchDB and I have a situation where there are a bunch of documents keyed on user ids. I would like to be able to send a single query to update a particular field in all these documents. For example when a notification comes in, I'd like each user document to be updated with it by passing in the list of users to whom the n...