Hello!
I'm playing with attachment type (using ES 0.10.0). From documentation
(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