I have installed elasticsearch with brew install elasticsearch
. My plugins seem to reside in /usr/local/Cellar/elasticsearch/0.19.8/plugins
. With cat $( which plugin )
I see a ES_HOME
variable that contains the correct path.
Is there a way to ask elastic for ES_HOME
or the plugins directory?
EDIT
What I am looking for is the directory used by the plugin executable to install the plugins when I do plugin -install something
. I want to use that path in a script to fire up elastic search.