How do I find where ElasticSearch is installing my plugins?

后端 未结 4 1967
梦谈多话
梦谈多话 2021-01-30 00:51

I have installed elasticsearch with brew install elasticsearch. My plugins seem to reside in /usr/local/Cellar/elasticsearch/0.19.8/plugins. With

4条回答
  •  暖寄归人
    2021-01-30 01:39

    I had the same problem as you and I was able to locate the ES_HOME directory by following @imotiv's suggestion.

    Simply call PATH_TO_SERVER:9200/_cluster/nodes?settings=true&pretty=true

    Therein you'll see the path.home entry. That is your ES working directory.

    Once you locate your ElasticSearch home folder, in my case /usr/share/elasticsearch, cd down to that location.

    Once there, you could simply run bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/1.3.0 and it will automatically do the rest for you.

    Hope this helps.

提交回复
热议问题