[英]Installing head plugin in elastic search with Grails
I have Grails project in which I have added elastic search dependencies. 我有Grails项目,其中添加了弹性搜索依赖项。 Now I want to install head plugin . 现在我要安装头插件 。
According to documentation of head plugin, command for this is: 根据head插件的文档,此命令为:
elasticsearch/bin/plugin -install mobz/elasticsearch-head
But I am not able to find bin directory of ES. 但是我找不到ES的bin目录。
So where is the elasticsearch installed in Grails ? 那么Elasticsearch在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. 如果有要求向卫星无线电服务添加新频道的请求,则必须在广播电台中完成,而不是在您的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. 同样,当您说将弹性搜索依赖项添加到Grails项目时,这并不意味着您在同一应用程序中运行着弹性服务器 。
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). head插件的文档(此处的插件是指弹性服务器的插件,而不是Grails插件)是指弹性服务器(可在其中找到bin
目录)。
Your best approach would be Running as a standalone webapp if you have elastic server running in your localhost during development. 如果您在开发期间在本地主机中运行弹性服务器,则最好的方法是作为独立的Webapp运行。 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.