How to make indexing to multiple couch database?

In elastic search,i want to make indexing to multiple couch databases for searching of record through those database.is it possible to do this through curl??????