Hi 

On Wednesday, 15 February 2012 at 15:12, Simon Metson wrote:

> > > 
> > 
> > 
> > 
> > 
> 
> That's currently not done easily. You'd need to hit _all_docs with a limit 
> parameter (e.g. http://localhost:5984/demo/_all_docs?limit=100) then push the 
> result back into your subset database. Give me some time and I'll knock up a 
> python script to do it...
> 
> 

Quickly hacked up script:



https://github.com/drsm79/couch-generics/blob/master/scripts/fetch_subset.py

Should have no dependencies other than python2.6. Not extensively tested, 
patches welcome etc.
Cheers
Simon

Reply via email to