The mapper attachments plugin adds the attachment type to Elasticsearch using Apache Tika.
'tv.kazu:elasticsearch-mapper-attachments:3.0.4'
<dependency>
<groupId>tv.kazu</groupId>
<artifactId>elasticsearch-mapper-attachments</artifactId>
<version>3.0.4</version>
</dependency>
<dependency org="tv.kazu" name="elasticsearch-mapper-attachments" rev="3.0.4"/>
"tv.kazu", "elasticsearch-mapper-attachments", "3.0.4"