安装ingest-attachment插件错误

时间:2018-06-19 06:07:26

标签: java elasticsearch elastic-stack

我将ingest-attachment插件6.3.0版本下载到我的机器上并尝试使用命令提示符在我的Windows机器上安装并收到错误。

请在安装ingest-attachment插件时找到错误。

我已经安装了elasticsearch 6.2.3版本。

D:\1SearchEngine\elasticsearch-6.2.3\elasticsearch-6.2.3>bin\elasticsearch-plugi
n install d:\1SearchEngine\ingest-attachment\ingest-attachment-6.3.0.zip
-> Downloading d:\1SearchEngine\ingest-attachment\ingest-attachment-6.3.0.zip
Exception in thread "main" java.net.MalformedURLException: unknown protocol: d
        at java.net.URL.<init>(URL.java:600)
        at java.net.URL.<init>(URL.java:490)
        at java.net.URL.<init>(URL.java:439)
        at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPlu
ginCommand.java:329)
        at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPlugin
Command.java:253)
        at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
ommand.java:221)
        at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
ommand.java:212)
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
        at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
        at org.elasticsearch.cli.Command.main(Command.java:90)
        at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)

D:\1SearchEngine\elasticsearch-6.2.3\elasticsearch-6.2.3>

1 个答案:

答案 0 :(得分:1)

documentation说:

bin\elasticsearch-plugin install file:///C:/path/to/plugin.zip

您遗失file://