# How test plugin in eclipse in elasticsearch

**URL:** <https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210>\
**Category:** Elasticsearch\
**Created:** [February 17, 2015, 3:23pm UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210 "2015-02-17T15:23:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Lotfdar](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ali\_Lotfdar](https://discuss.elastic.co/u/Ali_Lotfdar)\
**Post date:** [February 17, 2015, 3:23pm UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210/1 "2015-02-17T15:23:50Z")

</div>

Hi All,

I found this topic in previous topics but I need some help too.

I want to know if it is possible to test my plugin before installing inside  
ES? and if yes how(test to give some sample data and see the result!)?  
Could you please let me know how it is possible and how I can debug it  
using main method?

Thanks,  
Ali

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)\
**Post date:** [February 17, 2015, 3:27pm UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210/2 "2015-02-17T15:27:32Z")

</div>

See

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--

Itamar Syn-Hershko  
[http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
Freelance Developer & Consultant  
[Lucene.NET](http://Lucene.NET) committer and PMC member

On Tue, Feb 17, 2015 at 5:23 PM, Ali Lotfdar [ali.lotfdar58@gmail.com](mailto:ali.lotfdar58@gmail.com)  
wrote:

> Hi All,
> 
> I found this topic in previous topics but I need some help too.
> 
> I want to know if it is possible to test my plugin before installing  
> inside ES? and if yes how(test to give some sample data and see the  
> result!)?  
> Could you please let me know how it is possible and how I can debug it  
> using main method?
> 
> Thanks,  
> Ali
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvA%3DSN-Wmfd8Dcn8uJuzs60d\_jJrghdTdpEcaf8J7D5jQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvA%3DSN-Wmfd8Dcn8uJuzs60d_jJrghdTdpEcaf8J7D5jQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ali\_Lotfdar](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ali\_Lotfdar](https://discuss.elastic.co/u/Ali_Lotfdar)\
**Post date:** [February 17, 2015, 5:54pm UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210/3 "2015-02-17T17:54:34Z")

</div>

Thank you Itamar,

Could you please let me know if I can use main() method for debugging? Do  
you have any sample or documents? Actually I am not familiar with jUnit.

On Tuesday, February 17, 2015 at 10:27:42 AM UTC-5, Itamar Syn-Hershko  
wrote:

> See  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/using-elasticsearch-test-classes.html)
> 
> --
> 
> Itamar Syn-Hershko  
> [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> Freelance Developer & Consultant  
> [Lucene.NET](http://Lucene.NET) committer and PMC member
> 
> On Tue, Feb 17, 2015 at 5:23 PM, Ali Lotfdar \<[ali.lo...@gmail.com](mailto:ali.lo...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi All,
> > 
> > I found this topic in previous topics but I need some help too.
> > 
> > I want to know if it is possible to test my plugin before installing  
> > inside ES? and if yes how(test to give some sample data and see the  
> > result!)?  
> > Could you please let me know how it is possible and how I can debug it  
> > using main method?
> > 
> > Thanks,  
> > Ali
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6ff165e5-a8d9-4af2-9d5c-359c977ca8a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6ff165e5-a8d9-4af2-9d5c-359c977ca8a9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ali\_Lotfdar](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ali\_Lotfdar](https://discuss.elastic.co/u/Ali_Lotfdar)\
**Post date:** [February 18, 2015, 9:54pm UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210/4 "2015-02-18T21:54:49Z")

</div>

Thank you.

On Tuesday, February 17, 2015 at 10:27:42 AM UTC-5, Itamar Syn-Hershko  
wrote:

> See  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/using-elasticsearch-test-classes.html)
> 
> --
> 
> Itamar Syn-Hershko  
> [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> Freelance Developer & Consultant  
> [Lucene.NET](http://Lucene.NET) committer and PMC member
> 
> On Tue, Feb 17, 2015 at 5:23 PM, Ali Lotfdar \<[ali.lo...@gmail.com](mailto:ali.lo...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi All,
> > 
> > I found this topic in previous topics but I need some help too.
> > 
> > I want to know if it is possible to test my plugin before installing  
> > inside ES? and if yes how(test to give some sample data and see the  
> > result!)?  
> > Could you please let me know how it is possible and how I can debug it  
> > using main method?
> > 
> > Thanks,  
> > Ali
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/37768df0-8877-46db-8fc2-556428c9896a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5d8bf9a3-d21c-4526-9834-bf6656f69317%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d8bf9a3-d21c-4526-9834-bf6656f69317%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:31am UTC](https://discuss.elastic.co/t/how-test-plugin-in-eclipse-in-elasticsearch/22210/5 "2017-07-06T00:31:46Z")

</div>


