# ES/CouchDB River using Views

**URL:** <https://discuss.elastic.co/t/es-couchdb-river-using-views/5078>\
**Category:** Elasticsearch\
**Created:** [August 8, 2011, 7:27am UTC](https://discuss.elastic.co/t/es-couchdb-river-using-views/5078 "2011-08-08T07:27:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludovic](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Ludovic](https://discuss.elastic.co/u/Ludovic)\
**Post date:** [August 8, 2011, 7:27am UTC](https://discuss.elastic.co/t/es-couchdb-river-using-views/5078/1 "2011-08-08T07:27:47Z")

</div>

HI,

I would create a river between ES and CouchDB using a view created  
with CouchDB. i know it's possible with a CouchDB filter.

Is it possible ?

SuperGlu

---

<div class="post-metadata">

**Author:** ![Mahendra\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahendra_m/32/3128_2.png) [@Mahendra\_M](https://discuss.elastic.co/u/Mahendra_M)\
**Post date:** [August 9, 2011, 4:57am UTC](https://discuss.elastic.co/t/es-couchdb-river-using-views/5078/2 "2011-08-09T04:57:24Z")

</div>

On Mon, Aug 8, 2011 at 12:57 PM, Ludovic [superglu07@gmail.com](mailto:superglu07@gmail.com) wrote:

> I would create a river between ES and CouchDB using a view created  
> with CouchDB. i know it's possible with a CouchDB filter.

I had thought about this feature, but then it is not required.

- A couchdb view is a way of querying data (say by using a map function)
- A view can be easily replicated by a similar query in Elasticsearch.  
So, there is no need to replicate a view inside Elasticsearch.

> Is it possible ?

Technically it is tough to do, because CouchDB does not expose a  
\_changes interface for views (IIRC). Also, I think the functionality  
can easily be achieved now.

Regards,  
Mahendra

[http://twitter.com/mahendra](http://twitter.com/mahendra)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:57am UTC](https://discuss.elastic.co/t/es-couchdb-river-using-views/5078/3 "2017-07-06T03:57:51Z")

</div>


