Looking for sample maven based ES plugin code

If you have link for the latest ES plugin code maven based, which does simple queries to cluster and get the result back, please point me to it.

Thanks for ur help.

Regards,
Rahul

I cannot think of any plugin which creates queries on the server side. What
are you looking to achieve?

Elasticsearch moved to gradle in master, but if you look at any pre-2.2
branch, you can find Maven versions:


The second plugin in does execute queries which is wraps in special
function scores. The original queries are not generate by the plugin, but
by the user.

Thanks Ivan for the insight, I was looking for something which invokes my JAVA method for incoming JSON rest request and from there my code makes a call to ES clusters for the data. Then add some signals for ranking and then return back the json result.

Regards,
Rahul