hemu
hemu

Reputation: 3261

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 ?

Upvotes: 0

Views: 4866

Answers (3)

Thao Pham The
Thao Pham The

Reputation: 11

Do:

cd /usr/share

and

elasticsearch/bin/plugin install mobz/elasticsearch-head

Upvotes: 0

Jessy FAVRIAU
Jessy FAVRIAU

Reputation: 61

Do :

cd /usr/share

and

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

Upvotes: 2

dmahapatro
dmahapatro

Reputation: 50245

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. :)

Upvotes: 1

Related Questions