How to start plugins when building from source


(Suraj) #1

Hi,

I've made a custom changes to the ES core and am building and running it from source using the run.sh provided. However, I'm not able to figure out how to start a custom plugin when building from source.

Do we need to update any configuration when starting a plugin? I couldn't find any documentation trying to achieve this.


(David Pilato) #2

Not sure about your version but elasticsearch repo contains already plugins. You can use them as an example, no?


(Suraj) #3

Hi David,

I'm using a customized version of ES 2.3.

I however haven't been able to figure out how to enable a plugin, neither existing nor a new custom one, when running ES using run.sh


(David Pilato) #4

You want to use this run.sh script for tests?

May be you can create integration tests like the ones here: https://github.com/elastic/elasticsearch/tree/2.4/plugins/analysis-stempel

Not really the answer you are looking for but I wrote this which can help: http://david.pilato.fr/blog/2016/07/29/elasticsearch-real-integration-tests/


(system) #5