# Using attachment type

**URL:** <https://discuss.elastic.co/t/using-attachment-type/3292>\
**Category:** Elasticsearch\
**Created:** [September 2, 2010, 11:57am UTC](https://discuss.elastic.co/t/using-attachment-type/3292 "2010-09-02T11:57:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Degtiariov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_degtiariov/32/3223_2.png) [@Andrew\_Degtiariov](https://discuss.elastic.co/u/Andrew_Degtiariov)\
**Post date:** [September 2, 2010, 11:57am UTC](https://discuss.elastic.co/t/using-attachment-type/3292/1 "2010-09-02T11:57:25Z")

</div>

Hello!

I'm playing with attachment type (using ES 0.10.0). From documentation  
([http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/](http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/))  
I understand that all I need only download apache-tika-0.7-src.zip and  
place it to $ES\_HOME/plugins directory.

But when I started ES the plugin not loaded:

[14:47:12,380][INFO][node] [Mary Walker]  
{elasticsearch/0.10.0}[11532]: started  
[14:50:43,475][INFO][node] [Ultra-Marine]  
{elasticsearch/0.10.0}[11680]: initializing ...  
[14:50:43,491][WARN][plugins] [Ultra-Marine] failed  
to extract plugin  
[/opt/project/parts/elasticsearch/plugins/apache-tika-0.7-src.zip],  
ignoring...  
java.io.FileNotFoundException:  
/opt/project/parts/var/es\_indices/plugins/apache-tika-0.7-src/  
tika-0.7/tika-parsers/src/test/resources/test-documents/test-documents.zip  
(No such file or directory)  
at java.io.FileOutputStream.open(Native Method)  
at java.io.FileOutputStream.(FileOutputStream.java:179)  
at java.io.FileOutputStream.(FileOutputStream.java:131)  
at org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:212)  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:58)  
at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:111)  
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:65)  
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:161)  
[14:50:43,494][INFO][plugins] [Ultra-Marine] loaded []

Maybe I should build Tika before using it as plugin?

--  
Andrew Degtiariov  
DA-RIPE

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [September 2, 2010, 12:05pm UTC](https://discuss.elastic.co/t/using-attachment-type/3292/2 "2010-09-02T12:05:36Z")

</div>

Hiya

> I'm playing with attachment type (using ES 0.10.0). From documentation  
> ([http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/](http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/))  
> I understand that all I need only download apache-tika-0.7-src.zip and  
> place it to $ES\_HOME/plugins directory.

actually, you need the plugin built for elasticsearch, not apache-tika  
itself.

You can install it with the $ES\_HOME/bin/plugin command:

./bin/plugin install analysis-icu

You can see a list of the available plugins here:

[http://elasticsearch.googlecode.com/svn/plugins/](http://elasticsearch.googlecode.com/svn/plugins/)

clint

---

<div class="post-metadata">

**Author:** ![Andrew\_Degtiariov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_degtiariov/32/3223_2.png) [@Andrew\_Degtiariov](https://discuss.elastic.co/u/Andrew_Degtiariov)\
**Post date:** [September 2, 2010, 12:31pm UTC](https://discuss.elastic.co/t/using-attachment-type/3292/3 "2010-09-02T12:31:01Z")

</div>

On Thu, Sep 2, 2010 at 3:05 PM, Clinton Gormley [clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk) wrote:

> Hiya
> 
> > I'm playing with attachment type (using ES 0.10.0). From documentation  
> > ([http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/](http://www.elasticsearch.com/docs/elasticsearch/mapping/attachment/))  
> > I understand that all I need only download apache-tika-0.7-src.zip and  
> > place it to $ES\_HOME/plugins directory.
> 
> actually, you need the plugin built for elasticsearch, not apache-tika  
> itself.
> 
> You can install it with the $ES\_HOME/bin/plugin command:
> 
> ./bin/plugin install analysis-icu
> 
> You can see a list of the available plugins here:
> 
> [http://elasticsearch.googlecode.com/svn/plugins/](http://elasticsearch.googlecode.com/svn/plugins/)
> 
> clint

Thank you!  
But it is not fully clear from documentation.

--  
Andrew Degtiariov  
DA-RIPE

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [September 2, 2010, 12:34pm UTC](https://discuss.elastic.co/t/using-attachment-type/3292/4 "2010-09-02T12:34:59Z")

</div>

> > actually, you need the plugin built for elasticsearch, not apache-tika  
> > itself.
> > 
> > You can install it with the $ES\_HOME/bin/plugin command:
> > 
> > ./bin/plugin install analysis-icu
> > 
> > You can see a list of the available plugins here:
> > 
> > [http://elasticsearch.googlecode.com/svn/plugins/](http://elasticsearch.googlecode.com/svn/plugins/)

> Thank you!  
> But it is not fully clear from documentation.

No, it isn't. I happen to know about it, but it took some searching for  
me to remember how it works

docs need updating

clint

---

<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, 4:19am UTC](https://discuss.elastic.co/t/using-attachment-type/3292/5 "2017-07-06T04:19:52Z")

</div>


