简体   繁体   中英

Installing head plugin in elastic search with Grails

I have Grails project in which I have added elastic search dependencies. Now I want to install head plugin .

According to documentation of head plugin, command for this is:

elasticsearch/bin/plugin -install mobz/elasticsearch-head

But I am not able to find bin directory of ES.

So where is the elasticsearch installed in Grails ?

Do :

cd /usr/share

and

elasticsearch/bin/plugin -install mobz/elasticsearch-head

You have a Car with Satellite radio in it. If there is a request to add a new channel to the satellite radio service, then that has to be done in the broadcasting station instead of installing any kind of component/tool in your Car. :)

Similarly, When you say you added elastic search dependencies to a Grails project that does not mean you have a elastic server running in the same application.

The documentation for head plugin (here plugin means an add-on to elastic server, instead of a Grails plugin) refers to elastic server (where you can find a bin directory).

Your best approach would be Running as a standalone webapp if you have elastic server running in your localhost during development. Or run it as a plugin to elastic server installation wherever it is installed. I hope I was able to convey. :)

Do:

cd /usr/share

and

elasticsearch/bin/plugin install mobz/elasticsearch-head

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM