Mapper Attachments Pluginedit

Deprecated in 5.0.0.

The mapper-attachments plugin will be 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 base64).


This plugin can be installed using the plugin manager:

sudo bin/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


The plugin can be removed with the following command:

sudo bin/plugin remove mapper-attachments

The node must be stopped before removing the plugin.