couchrest/couchrest_model — pull request #172 by gxbe (2013-10-04 01:47:49+00:00)
Title: added support for creating Cloudant Search indexes

this works just like design doc support for "filter" except allowing for the creation of Cloudant search indexes instead of filters.

ex:
design do
view :by_user
index :users, :index => 'function(doc){
index("email", doc._id);
}'
end