ES/CouchDB River using Views


(Ludovic) #1

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


(Mahendra M) #2

On Mon, Aug 8, 2011 at 12:57 PM, Ludovic 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


(system) #3