Migrate data from ES 1.x to ES 2.x

Hello all,

I have been working in upgrading my ES 1.x to 2.x recently. I have upgraded my codes from 1.x JAVA API to 2.x JAVA API. Now I am migrating my data from ES 1.x cluster to 2.x cluster.
For this purpose I have few solutions, make the mapping for ES 1.x compatible with 2.x and then move data to cluster with ES 2.x.

But I want to do is, use BulkProcessor API so that I can index selective data from ES 1.x to ES 2.x.
How can I do this ?

You can't use the same transport client to connect to 2 clusters running version 1 and version 2.

Thank you for your reply but I am aware of this. Are there any ways to accomplish what I have discussed above?

Not with a BulkProcessor API which was your question.

If you want to copy data from a cluster to another one, that's another question.

This could work may be: http://david.pilato.fr/blog/2015/05/20/reindex-elasticsearch-with-logstash/