# Mapper-attachments 3.0 and head plugin

**URL:** <https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695>\
**Category:** Elasticsearch\
**Created:** [November 16, 2015, 3:47pm UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695 "2015-11-16T15:47:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_GUERIN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guerin/32/5950_2.png) [@Francois\_GUERIN](https://discuss.elastic.co/u/Francois_GUERIN)\
**Post date:** [November 16, 2015, 3:47pm UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/1 "2015-11-16T15:47:34Z")

</div>

Hi,

I've created an attachment field type with django + haystack, and I can put my docs to the elasticsearch database. I use mapper-attachments 3.0.2 with a fresh elasticsearch 2.0 application.  
I'm actually sending the data as :

```
{
    "_content_type": "application/msword", 
    "_content": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAA...", 
    "_content_length": 36864, 
    "_name": "CR interpoles 05.10.15.doc", 
    "_language": "fr", 
    "_title": "CR interpoles 05.10.15.doc"
}

```

I can see the attachment in the mappings, so it sound OK, but I cannot request the attachments :  
with head plugin. I've a 404 error when requestings in the browser view : reason = "all shards failed"

Is there a new release on head with elasticsearch 2.0 ? Did I miss something ? 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:** [November 16, 2015, 4:08pm UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/2 "2015-11-16T16:08:53Z")

</div>

Head plugin does not work with 2.0 AFAIK

---

<div class="post-metadata">

**Author:** ![Francois\_GUERIN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guerin/32/5950_2.png) [@Francois\_GUERIN](https://discuss.elastic.co/u/Francois_GUERIN)\
**Post date:** [November 17, 2015, 8:02am UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/3 "2015-11-17T08:02:39Z")

</div>

Which front-end could I use ?

---

<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:** [November 17, 2015, 9:18am UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/4 "2015-11-17T09:18:23Z")

</div>

Sense, any REST plugin for your browser, Kopf...

---

<div class="post-metadata">

**Author:** ![Francois\_GUERIN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_guerin/32/5950_2.png) [@Francois\_GUERIN](https://discuss.elastic.co/u/Francois_GUERIN)\
**Post date:** [November 17, 2015, 10:45am UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/5 "2015-11-17T10:45:07Z")

</div>

Thanks, I've installed kopf (and hq)

---

<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:** [July 5, 2017, 11:38pm UTC](https://discuss.elastic.co/t/mapper-attachments-3-0-and-head-plugin/34695/6 "2017-07-05T23:38:01Z")

</div>


