# Looking for sample maven based ES plugin code

**URL:** <https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721>\
**Category:** Elasticsearch\
**Created:** [January 21, 2016, 1:30am UTC](https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721 "2016-01-21T01:30:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulcse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahulcse/32/12158_2.png) [@rahulcse](https://discuss.elastic.co/u/rahulcse)\
**Post date:** [January 21, 2016, 1:30am UTC](https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721/1 "2016-01-21T01:30:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [January 21, 2016, 2:34am UTC](https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721/2 "2016-01-21T02:34:41Z")

</div>

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:

> **[elastic/elasticsearch-mapper-attachments](https://github.com/elastic/elasticsearch-mapper-attachments/tree/es-2.1)**
>
> elasticsearch-mapper-attachments - Mapper Attachments Type plugin for Elasticsearch

  

> **[YannBrrd/elasticsearch-entity-resolution](https://github.com/YannBrrd/elasticsearch-entity-resolution)**
>
> elasticsearch-entity-resolution - Elasticsearch entity resolution plugin based on Duke

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.

---

<div class="post-metadata">

**Author:** ![rahulcse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahulcse/32/12158_2.png) [@rahulcse](https://discuss.elastic.co/u/rahulcse)\
**Post date:** [January 21, 2016, 4:40pm UTC](https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721/3 "2016-01-21T16:40:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:22pm UTC](https://discuss.elastic.co/t/looking-for-sample-maven-based-es-plugin-code/39721/4 "2017-07-05T23:22:28Z")

</div>


