# "attachment" handler type not found

**URL:** <https://discuss.elastic.co/t/attachment-handler-type-not-found/8771>\
**Category:** Elasticsearch\
**Created:** [August 17, 2012, 3:12pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771 "2012-08-17T15:12:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![msya](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@msya](https://discuss.elastic.co/u/msya)\
**Post date:** [August 17, 2012, 3:12pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/1 "2012-08-17T15:12:22Z")

</div>

Hello,

I downloaded the plugin mapper-attachments and and tried to set a mapping  
where the type is "attachment". I did restart after I installed the  
mapper-attachment. However, I am getting the error - "No handler for type  
[attachment]". How do I resolve this error?

--

---

<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:** [August 17, 2012, 4:09pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/2 "2012-08-17T16:09:28Z")

</div>

Your plugin is not loaded. Look at logs to see if it appears at startup as a plugin (not as a site)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 17:12, msya [mohitsya@gmail.com](mailto:mohitsya@gmail.com) a écrit :

> Hello,
> 
> I downloaded the plugin mapper-attachments and and tried to set a mapping where the type is "attachment". I did restart after I installed the mapper-attachment. However, I am getting the error - "No handler for type [attachment]". How do I resolve this error?
> 
> --

--

---

<div class="post-metadata">

**Author:** ![msya](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@msya](https://discuss.elastic.co/u/msya)\
**Post date:** [August 17, 2012, 4:19pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/3 "2012-08-17T16:19:56Z")

</div>

This is what is see at startup:

loaded [mapper-attachments], sites

On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:

> Your plugin is not loaded. Look at logs to see if it appears at startup as  
> a plugin (not as a site)
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 août 2012 à 17:12, msya \<[mohi...@gmail.com](mailto:mohi...@gmail.com) \<javascript:\>\> a écrit :
> 
> Hello,
> 
> I downloaded the plugin mapper-attachments and and tried to set a mapping  
> where the type is "attachment". I did restart after I installed the  
> mapper-attachment. However, I am getting the error - "No handler for type  
> [attachment]". How do I resolve this error?
> 
> --

--

---

<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:** [August 17, 2012, 4:38pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/4 "2012-08-17T16:38:29Z")

</div>

Hmmm. That's strange. It should work.  
How do you define your mapping?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 18:19, msya [mohitsya@gmail.com](mailto:mohitsya@gmail.com) a écrit :

This is what is see at startup:

loaded [mapper-attachments], sites

On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:  
Your plugin is not loaded. Look at logs to see if it appears at startup as a plugin (not as a site)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 17:12, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :

> Hello,
> 
> I downloaded the plugin mapper-attachments and and tried to set a mapping where the type is "attachment". I did restart after I installed the mapper-attachment. However, I am getting the error - "No handler for type [attachment]". How do I resolve this error?
> 
> --

--

--

---

<div class="post-metadata">

**Author:** ![msya](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@msya](https://discuss.elastic.co/u/msya)\
**Post date:** [August 17, 2012, 4:47pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/5 "2012-08-17T16:47:23Z")

</div>

I used the example from the Elasticsearch website  
([Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html)).

I define my mapping as such:

curl -X PUT "localhost:9200/test/attachment/\_mapping" -d '{  
"attachment" : {  
"properties" : {  
"file" : {  
"type" : "attachment",  
"fields" : {  
"title" : { "store" : "yes" },  
"file" : { "term\_vector":"with\_positions\_offsets", "store":"yes" }  
}  
}  
}  
}  
}'

On Friday, August 17, 2012 12:38:29 PM UTC-4, David Pilato wrote:

> Hmmm. That's strange. It should work.  
> How do you define your mapping?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 17 août 2012 à 18:19, msya \<[mohi...@gmail.com](mailto:mohi...@gmail.com) \<javascript:\>\> a écrit :
> 
> This is what is see at startup:
> 
> loaded [mapper-attachments], sites
> 
> On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:
> 
> > Your plugin is not loaded. Look at logs to see if it appears at startup  
> > as a plugin (not as a site)
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 août 2012 à 17:12, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :
> > 
> > Hello,
> > 
> > I downloaded the plugin mapper-attachments and and tried to set a mapping  
> > where the type is "attachment". I did restart after I installed the  
> > mapper-attachment. However, I am getting the error - "No handler for type  
> > [attachment]". How do I resolve this error?
> > 
> > --
> > 
> > --

--

---

<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:** [August 17, 2012, 9:37pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/6 "2012-08-17T21:37:37Z")

</div>

You've got this error when you put the mapping?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 18:47, msya [mohitsya@gmail.com](mailto:mohitsya@gmail.com) a écrit :

I used the example from the Elasticsearch website ([Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html)).

I define my mapping as such:

curl -X PUT "localhost:9200/test/attachment/\_mapping" -d '{  
"attachment" : {  
"properties" : {  
"file" : {  
"type" : "attachment",  
"fields" : {  
"title" : { "store" : "yes" },  
"file" : { "term\_vector":"with\_positions\_offsets", "store":"yes" }  
}  
}  
}  
}  
}'

On Friday, August 17, 2012 12:38:29 PM UTC-4, David Pilato wrote:  
Hmmm. That's strange. It should work.  
How do you define your mapping?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 18:19, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :

This is what is see at startup:

loaded [mapper-attachments], sites

On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:  
Your plugin is not loaded. Look at logs to see if it appears at startup as a plugin (not as a site)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 août 2012 à 17:12, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :

> Hello,
> 
> I downloaded the plugin mapper-attachments and and tried to set a mapping where the type is "attachment". I did restart after I installed the mapper-attachment. However, I am getting the error - "No handler for type [attachment]". How do I resolve this error?
> 
> --

--

--

--

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 18, 2012, 9:57am UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/7 "2012-08-18T09:57:32Z")

</div>

Hi msya,

this might be a version issue. If you are not on version 0.19.8 can you try  
updating to it?

Best regards,

Jörg

On Friday, August 17, 2012 6:47:23 PM UTC+2, msya wrote:

> I used the example from the Elasticsearch website (  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html)).
> 
> I define my mapping as such:
> 
> curl -X PUT "localhost:9200/test/attachment/\_mapping" -d '{  
> "attachment" : {  
> "properties" : {  
> "file" : {  
> "type" : "attachment",  
> "fields" : {  
> "title" : { "store" : "yes" },  
> "file" : { "term\_vector":"with\_positions\_offsets", "store":"yes" }  
> }  
> }  
> }  
> }  
> }'
> 
> On Friday, August 17, 2012 12:38:29 PM UTC-4, David Pilato wrote:
> 
> > Hmmm. That's strange. It should work.  
> > How do you define your mapping?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 17 août 2012 à 18:19, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :
> > 
> > This is what is see at startup:
> > 
> > loaded [mapper-attachments], sites
> > 
> > On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:
> > 
> > > Your plugin is not loaded. Look at logs to see if it appears at startup  
> > > as a plugin (not as a site)
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 août 2012 à 17:12, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :
> > > 
> > > Hello,
> > > 
> > > I downloaded the plugin mapper-attachments and and tried to set a  
> > > mapping where the type is "attachment". I did restart after I installed the  
> > > mapper-attachment. However, I am getting the error - "No handler for type  
> > > [attachment]". How do I resolve this error?
> > > 
> > > --
> > > 
> > > --

--

---

<div class="post-metadata">

**Author:** ![msya](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@msya](https://discuss.elastic.co/u/msya)\
**Post date:** [August 18, 2012, 7:22pm UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/8 "2012-08-18T19:22:32Z")

</div>

Hello,

Yes, I am getting that error when I put that mapping. I have version  
0.19.8, but I am still getting that error message.

On Saturday, August 18, 2012 5:57:32 AM UTC-4, Jörg Prante wrote:

> Hi msya,
> 
> this might be a version issue. If you are not on version 0.19.8 can you  
> try updating to it?
> 
> Best regards,
> 
> Jörg
> 
> On Friday, August 17, 2012 6:47:23 PM UTC+2, msya wrote:
> 
> > I used the example from the Elasticsearch website (  
> > [http://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html](http://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html)).
> > 
> > I define my mapping as such:
> > 
> > curl -X PUT "localhost:9200/test/attachment/\_mapping" -d '{  
> > "attachment" : {  
> > "properties" : {  
> > "file" : {  
> > "type" : "attachment",  
> > "fields" : {  
> > "title" : { "store" : "yes" },  
> > "file" : { "term\_vector":"with\_positions\_offsets", "store":"yes" }  
> > }  
> > }  
> > }  
> > }  
> > }'
> > 
> > On Friday, August 17, 2012 12:38:29 PM UTC-4, David Pilato wrote:
> > 
> > > Hmmm. That's strange. It should work.  
> > > How do you define your mapping?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 17 août 2012 à 18:19, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :
> > > 
> > > This is what is see at startup:
> > > 
> > > loaded [mapper-attachments], sites
> > > 
> > > On Friday, August 17, 2012 12:09:28 PM UTC-4, David Pilato wrote:
> > > 
> > > > Your plugin is not loaded. Look at logs to see if it appears at startup  
> > > > as a plugin (not as a site)
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 17 août 2012 à 17:12, msya [mohi...@gmail.com](mailto:mohi...@gmail.com) a écrit :
> > > > 
> > > > Hello,
> > > > 
> > > > I downloaded the plugin mapper-attachments and and tried to set a  
> > > > mapping where the type is "attachment". I did restart after I installed the  
> > > > mapper-attachment. However, I am getting the error - "No handler for type  
> > > > [attachment]". How do I resolve this error?
> > > > 
> > > > --
> > > > 
> > > > --

--

---

<div class="post-metadata">

**Author:** ![Shashi\_2](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Shashi\_2](https://discuss.elastic.co/u/Shashi_2)\
**Post date:** [January 8, 2015, 9:33am UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/9 "2015-01-08T09:33:39Z")

</div>

hello all,  
I am also getting the same error...please guide..

On Friday, August 17, 2012 8:42:22 PM UTC+5:30, msya wrote:

> Hello,
> 
> I downloaded the plugin mapper-attachments and and tried to set a mapping  
> where the type is "attachment". I did restart after I installed the  
> mapper-attachment. However, I am getting the error - "No handler for type  
> [attachment]". How do I resolve this error?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/33b82ecf-5151-4b43-a955-3975d7e303db%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/33b82ecf-5151-4b43-a955-3975d7e303db%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Shashi\_2](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Shashi\_2](https://discuss.elastic.co/u/Shashi_2)\
**Post date:** [January 8, 2015, 9:42am UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/10 "2015-01-08T09:42:35Z")

</div>

I have Elasticsearch version:1.4.2 and mapper-attachment version 2.4.1....

On Thursday, January 8, 2015 3:03:39 PM UTC+5:30, Shashi wrote:

> hello all,  
> I am also getting the same error...please guide..
> 
> On Friday, August 17, 2012 8:42:22 PM UTC+5:30, msya wrote:
> 
> > Hello,
> > 
> > I downloaded the plugin mapper-attachments and and tried to set a mapping  
> > where the type is "attachment". I did restart after I installed the  
> > mapper-attachment. However, I am getting the error - "No handler for type  
> > [attachment]". How do I resolve this error?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1842aa07-a144-4412-be4b-23176cc31cb6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1842aa07-a144-4412-be4b-23176cc31cb6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:40am UTC](https://discuss.elastic.co/t/attachment-handler-type-not-found/8771/11 "2017-07-06T00:40:08Z")

</div>


