ES版本更新那么快,文档链接你也倒是跟上啊,
插件zip包下载,都是error link。。。难不成是我网络原因?
下载zip页面报错信息:
This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message> <Key> elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-2.3.4.zip </Key> <RequestId>21414E3A79B20BFA</RequestId> <HostId> Q82J5X0ILFDrLp0GxILBboBvluJx5wMpxP3lKx/lTag6ov5vUY9FV55FGjzygfl6BFu27FVaHjA= </HostId> </Error>
-------------------------------------------------------------------------------------
官方给的什么链接啊,都是失效的:
找了好久,终于找到elasticsearch-mapper-attachments-2.3.4.zip的正确下载链接,其他版本的只需把2.3.4替换成对应版本即可:
然后,输入下面的命令离线安装。
bin/plugin install file:///path/to/mapper-attachments-2.3.4.zip
--------------------------------------------------------------------------------------------------
后来发现有一种更快捷的方式,就是直接输入:-)
bin/plugin install mapper-attachments
然后后面就回出现:
-> Installing mapper-attachments... Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/2.3.4/mapper-attachments-2.3.4.zip ... ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
把那个链接直接下载就行
参考信息:
https://discuss.elastic.co/t/mapper-attachments-doesnt-work/58104/2