couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramkrishna Kulkarni <ramkrishna.kulka...@gmail.com>
Subject Replication by doc_ids. Getting IDs from querying views
Date Tue, 09 Aug 2011 05:34:53 GMT
Named document replication (doc_ids) currently accepts a list of IDs
to replicate. Wouldn't it be great if IDs were fetched from a view
query? Something like:

{
  "source":"http://example.org/example-database",
  "target":"http://admin:password@127.0.0.1:5984/example-database",
  "doc_ids_by_view": "_view/view_name?reduce=false&startkey=[...]&endkey=[...]"
}

Wouldn't this be faster and also avoid writing a separate filter function?

Thanks,
Ram

Mime
View raw message