The new Cloudant query API is pretty awesome. It basically looks like Mongo, which makes for much more readable and user-friendly queries than what you can get with standard map/reduce.
Index the field foo
:
cinnabar:~ nolan$ acurl -X POST https://pouch.cloudant.com/mydb/_index -d '{
> "index": {
> "fields": ["foo"]
> },