Install elasticsearch-mapper-attachments plugin failed

when I try to install elasticsearch/elasticsearch-mapper-attachments/3.1.2 for elasticsearch version 2.2.0,
I got following error:
ERROR: Plugin [mapper-attachments] is incompatible with Elasticsearch [2.2.0]. Was designed for version [2.1.2]

so which version should be used for elasticsearch version 2.2.0?

problem has been solved.

How did you solve it?

I guess:

  bin/plugin install mapper-attachments
1 Like

Yes, it is. Thanks!

I tried installing a plugin (on 1 windows box) mapper-attachments plugin on ES 1.7: plugin.bat install mapper-attachments
(also from zip file too as well as unzipping and placing the contents in plugins/mapper-attachments)

The error I get:

C:\el\elasticsearch-1.7.3\elasticsearch-1.7.3\bin>plugin install mapper-attachments --verbose
-> Installing mapper-attachments...
Trying https://github.com/null/mapper-attachments/archive/master.zip...
Failed: IOException[Can't get https://github.com/null/mapper-attachments/archive
/master.zip to C:\el\elasticsearch-1.7.3\elasticsearch-1.7.3\plugins\mapper-atta
chments.zip]; nested: FileNotFoundException[https://github.com/null/mapper-attac
hments/archive/master.zip]; nested: FileNotFoundException[https://github.com/nul
l/mapper-attachments/archive/master.zip];
Failed to install mapper-attachments, reason: failed to download out of all poss
ible locations..., use --verbose to get detailed information

Have a look at: https://github.com/elastic/elasticsearch-mapper-attachments/blob/master/README.md

thanks!