简体   繁体   English

如何在Elasticsearch中安装插件

[英]how to install a plugin in elasticsearch

i have downloaded the zip package for hello world plugin from https://github.com/brusic/elasticsearch-hello-world-plugin/blob/master/src/main/java/org/elasticsearch/plugin/helloworld/HelloWorldPlugin.java 我已经从https://github.com/brusic/elasticsearch-hello-world-plugin/blob/master/src/main/java/org/elasticsearch/plugin/helloworld/HelloWorldPlugin.java下载了hello world插件的zip软件包。

and have installed maven also but i want to know where to unzip this package and which command will be used to install and run it.I am working on windows so please provide a stepwise procedure according to it.please help 并且已经安装了maven,但我想知道在哪里解压缩此软件包以及将使用哪个命令来安装和运行它。我正在Windows上工作,因此请根据它提供逐步操作。请帮助

Check the project from github, build it, place the jar from the directory 从github检查项目,进行构建,然后从目录中放置jar

elasticsearch-hello-world-plugin/target

Into the lib folder in Elastcsearch 进入Elastcsearch中的lib文件夹

elasticsearch/lib

Restart Elasticsearch 重新启动Elasticsearch

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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