couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Created) (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1345) Bulk edit document on the server
Date Wed, 23 Nov 2011 12:51:39 GMT
Bulk edit document on the server

                 Key: COUCHDB-1345
             Project: CouchDB
          Issue Type: Wish
            Reporter: Jan Lehnardt

[moved here from the wiki]

A Document Runner would provide functionality to run a transform function across all documents
in the database. This way you could do maintenance and migrations, with incurring a bunch
of http overhead.

The idea was originally floated on the couchdb-user mailing list.


Ability to specify a job in a view-server like context (Javascript other language function)
and have it run across all docs (like a view is), but with the additional ability to write
back to the document (through the http api, so we don't have to add a socket-based update


We may not be able to guarantee that runner functions see each document only once, so functions
need to be aware only to modify documents that require modification.


Changing the format of a timestamp across all docs
Removing sensitive fields before replicating to another jurisdiction
(View runner... slightly different) Materializing the results of group=true reduce queries
into a dataset for further map/reduce processing (a common pattern in Hadoop)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message