Deprecated in 5.0.0.The mapper-attachments plugin has been replaced by the ingest-attachment plugin
The mapper attachments plugin lets Elasticsearch index file attachments in common formats (such as PPT, XLS, PDF) using the Apache text extraction library Tika.
In practice, the plugin adds the
attachment type when mapping properties so that documents can be populated with
file attachment contents (encoded as
This plugin can be installed using the plugin manager:
sudo bin/elasticsearch-plugin install mapper-attachments
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
This plugin can be downloaded for offline install from https://artifacts.elastic.co/downloads/elasticsearch-plugins/mapper-attachments/mapper-attachments-5.5.2.zip.
The plugin can be removed with the following command:
sudo bin/elasticsearch-plugin remove mapper-attachments
The node must be stopped before removing the plugin.