Things like:
* Native Lucene search, which you had to build as a weird add-on for Couch. Now it's full-featured out of the box.
* Geospatial queries, also a weird add-on which only kind of worked in Couch, is also cooked in and is pretty strong now.
* True node clustering and data sharding; Couch has always had really really easy replication between nodes, and getting master-master replication is essentially creating a document on each node. However, you had to store your entire data set on every node, which would grow out of control in a hurry.
* A better auto-compactor. Couch 1.6 does fairly well but it's still a weird cron-based thing that can still fail horribly. The auto-compactor in Cloudant/Couch 2.0 is pretty solid and you don't have to worry about massive spikes in disk space consumption.
Do you know if there has been changes on this side for CouchDB 2.0 ?
function(newDoc, oldDoc, userCtx) {
if (userCtx.roles.indexOf('can-write-sessions') !== -1 || userCtx.roles.indexOf('admin') !== -1) {
return;
} else {
throw ({
forbidden: 'can-write-sessions role missing'
});
}
}
Why do you think that the Couchbase Sync Gateway is better?Couchbase's channels allow you to segregate docs with different read (or write) rights inside the same db.