Write Elasticsearch Plugin without using River

I have created a plugin to generate Excel reports from Elasticsearch. Basically this plugin takes in simple input JSON and can send the report as mail or save the report to the server.
Plugin: https://github.com/raghavendar-ts/Elasticsearch-Report-Plugin

But river is being deprecated from Elasticsearch 1.5. Can someone provide some tutorials/links that are build without river so that I can refactor the plugin to support future versions of Elasticsearch.

Thank you

We can work on it. We have already developed plugin for elastic search in Liferay. You can kindly visit our site www.elasticray.com for more details.