How to index full json documents from Couchbase to ElasticSearch

Hi.
I’m using Couchbase to replicate documents to elasticsearch. Now I need to do full search queries in elasticsearch and be able to visualize fields (which i guess not possible with the id & rev fields). As the queries will be done against ElasticSearch and not Couchbase, i need to replcate the documents as json documents. is this possible? How can i do it?

Thanks in advance.

Magza

To get started with Couchbase Server and Elasticsearch, check-out:

http://www.couchbase.com/couchbase-server/connectors/elasticsearch (For the Couchbase - elasticsearch connector)

and

https://github.com/couchbaselabs/learningportal (For a sample app to learn how you can use the connector)

@don

Could you please provide a sample mapping document that will replicate all data within elastic search. I went through all the documentation that is currently provided by couchbase and haven’t found anything that explains how the mapping document works. That would be super helpful.

Thanks!