Hi Jörg, Thanks a lot! Some month ago I started to write one plugin and it was really difficult. This skeleton is perfect for a cold start :)
On Tue, Jun 3, 2014 at 12:15 PM, [email protected] < [email protected]> wrote: > Hi, > > many of us want to start writing extensions for Elasticsearch. > > Except submitting pull requests to the core code, one great advantage of > Elasticsearch is the plugin mechanism. Here, custom code can be hooked into > Elasticsearch, without having to ask for inclusion into the core code. > Nevertheless, plugin code can be published on Github and easily included > into a running ES instance by using the ES plugin command line tool. > > Unfortunately, writing plugins is not so easy as it seems. There are many > plugins, some of them are very advanced, and finding a starting point for a > personal project could be quite hard. > > Hence, for educational purposes, I wrote a tiny plugin, as a starting > point, to demonstrate how a plugin works. > > The simple plugin is indeed very simple. It makes reuse of the standard > search action: > > - it defines a built-in query (a "match all" query) > > - it creates a custom action for it > > - the action is called from Java API > > - the result of the action (the search response of the "match all" query) > is logged > > The plugin code comes with a junit test. It is available at > > https://github.com/jprante/elasticsearch-simple-action-plugin > > In the hope it is useful, > > Jörg > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH-M6%2BZroAz8Reb3e2agW0vXKSavk%3D0hD_bq%2BBHtRYLhw%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH-M6%2BZroAz8Reb3e2agW0vXKSavk%3D0hD_bq%2BBHtRYLhw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Luiz Guilherme P. Santos -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAMdL%3DZEcM%3DzRmLk9%2BK7fiZ1hoT1zbcy_ScYT0F_8Kx0RzPkm%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
