我试图在我的本地弹性搜索设置中安装插件。在运行以下命令时,它给我失败的消息。
命令:plugin install elasticsearch / elasticsearch-mapper-attachments / 2.7.0
消息: - >安装elasticsearch / elasticsearch-mapper-attachments / 2.7.0 ...... 试试http://download.elasticsearch.org/elasticsearch/elasticsearch-mapper-attachments/elasticsearch-mapper-attachments-2.7.0.zip ...... 试试http://search.maven.org/remotecontent?filepath=elasticsearch/elasticsearch-mapper-attachments/2.7.0/elasticsearch-mapper-attachments-2.7.0.zip ...... 试试https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/elasticsearch-mapper-attachments/2.7.0/elasticsearch-mapper-attachments-2.7.0.zip ...... 试试https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/2.7.0.zip ...... 试试https://github.com/elasticsearch/elasticsearch-mapper-attachments/archive/master.zip ...... 无法安装elasticsearch / elasticsearch-mapper-attachments / 2.7.0,原因:无法从所有可能的位置下载...,使用--verbose获取详细信息
答案 0 :(得分:0)
不知怎的,我解决了它手动下载插件并应用它。
安装mapper-attachments插件:在/ bin文件夹下打开命令提示符窗口并运行以下命令 插件--install mapper-attachments --url file:/// C:\\ elasticsearch \ elasticsearch-mapper-attachments-2.7.0.zip
删除插件:在/ bin文件夹下打开命令提示符窗口并运行以下命令(如果需要删除任何插件) 插件 - 删除映射器附件