# Mapper-attachment plugin

**URL:** <https://discuss.elastic.co/t/mapper-attachment-plugin/111530>\
**Category:** Elasticsearch\
**Created:** [December 13, 2017, 10:04am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530 "2017-12-13T10:04:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZiOS07](https://avatars.discourse-cdn.com/v4/letter/z/898d66/32.png) [@ZiOS07](https://discuss.elastic.co/u/ZiOS07)\
**Post date:** [December 13, 2017, 10:04am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530/1 "2017-12-13T10:04:37Z")

</div>

Hello, I'm working on a Java project using spring framework and I have to use elasticsearch to index some documents (pdf, doc ..). I found that mapper-attachment plugin provides a new type 'attachment' which helps in my case.  
The problem is that I haven't found some clear documentation for this plugin to make it work with elasticsearch 2.4.  
Any help is much appreciated

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 13, 2017, 10:22am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530/2 "2017-12-13T10:22:59Z")

</div>

In case you missed the page: [https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/mapper-attachments.html](https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/mapper-attachments.html)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/6/76f01da7cf2e04a8b33530934baba6b3496405e0.jpg)

---

<div class="post-metadata">

**Author:** ![ZiOS07](https://avatars.discourse-cdn.com/v4/letter/z/898d66/32.png) [@ZiOS07](https://discuss.elastic.co/u/ZiOS07)\
**Post date:** [December 13, 2017, 10:38am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530/3 "2017-12-13T10:38:43Z")

</div>

But I am using elasticsearch v 2.4.0.  
Is there any suggestion ?  
Thanks!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 13, 2017, 10:39am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530/4 "2017-12-13T10:39:48Z")

</div>

Yes. ingest-attachment as written in the image I pasted.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 10, 2018, 10:40am UTC](https://discuss.elastic.co/t/mapper-attachment-plugin/111530/5 "2018-01-10T10:40:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
