This tutorial explains the process of setting up ElasticSearch to automatically index data in CouchDB and make it search-able. ElasticSearch 0.11 introduced a feature named The River, which allows it to connect to external systems and listen for documents updates. On receiving a notification, Elasticsearch indexes the data and makes it available for search.
In a nutshell, the solution uses what I’ve mentioned in previous posts: a combination of CouchDB
_changes and an ElasticSearch automatic pull mechanism.
Original title and link: Integrating ElasticSearch and CouchDB (NoSQL databases © myNoSQL)