相对简单,只有三个方法 install,remove,list
子命令的帮助查看方法
代码语言:javascript复制[root@h102 elasticsearch]# /usr/share/elasticsearch/bin/plugin list -h
NAME
list - List all plugins
SYNOPSIS
plugin list
DESCRIPTION
This command lists all installed elasticsearch plugins
[root@h102 elasticsearch]# /usr/share/elasticsearch/bin/plugin remove -h
NAME
remove - Remove a plugin
SYNOPSIS
plugin remove <name>
DESCRIPTION
This command removes an elasticsearch plugin
[root@h102 elasticsearch]#
当前系统中并没有检测到有插件
代码语言:javascript复制[root@h102 elasticsearch]# /usr/share/elasticsearch/bin/plugin list
Installed plugins in /usr/share/elasticsearch/plugins:
- No plugin detected
[root@h102 elasticsearch]#