Plugin installation seems to succeed.
[root@host elasticsearch-1.0.1]# bin/plugin -install
elasticsearch/elasticsearch-analysis-phonetic/2.0.0
-> Installing elasticsearch/elasticsearch-analysis-phonetic/2.0.0...
Trying
http://download.elasticsearch.org/elasticsearch/elasticsearch-analysis-phonetic/elasticsearch-analysis-phonetic-2.0.0.zip...
Downloading ............................DONE
Installed elasticsearch/elasticsearch-analysis-phonetic/2.0.0 into
/root/elasticsearch-1.0.1/plugins/analysis-phonetic
[root@host elasticsearch-1.0.1]# bin/elasticsearch
[2014-03-12 00:58:59,782][INFO ][node ] [Jack
Kirby] version[1.0.1], pid[6456], build[5c03844/2014-02-25T15:52:53Z]
[2014-03-12 00:58:59,783][INFO ][node ] [Jack
Kirby] initializing ...
[2014-03-12 00:58:59,817][INFO ][plugins ] [Jack
Kirby] loaded [cloud-aws, analysis-phonetic], sites [head]
[2014-03-12 00:59:04,523][INFO ][node ] [Jack
Kirby] initialized
[2014-03-12 00:59:04,523][INFO ][node ] [Jack
Kirby] starting ...
[2014-03-12 00:59:04,650][INFO ][transport ] [Jack
Kirby] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/172.31.27.225:9300]}
[2014-03-12 00:59:07,706][INFO ][cluster.service ] [Jack
Kirby] new_master [Jack
Kirby][fhpzKNmcRLKc208DuuXRrA][host][inet[/172.31.27.225:9300]], reason:
zen-disco-join (elected_as_master)
[2014-03-12 00:59:07,762][INFO ][discovery ] [Jack
Kirby] elasticsearch/fhpzKNmcRLKc208DuuXRrA
[2014-03-12 00:59:07,903][INFO ][http ] [Jack
Kirby] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/172.31.27.225:9200]}
[2014-03-12 00:59:09,079][INFO ][gateway ] [Jack
Kirby] recovered [1] indices into cluster_state
[2014-03-12 00:59:09,276][INFO ][node ] [Jack
Kirby] started
But attempting to create an index with a phonetic filter yields:
400 : {"error":"IndexCreationException[[asdf] failed to create index];
nested: ElasticsearchIllegalArgumentException[failed to find token filter
type [phonetic] for [phonetic]]; nested: NoClassSettingsException[Failed to
load class setting [type] with value [phonetic]]; nested:
ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory];
","status":400}
With nothing logged to the console. Here's some more information about the
host:
[root@host elasticsearch-1.0.1]# uname -a
Linux host 3.4.73-64.112.amzn1.x86_64 #1 SMP Tue Dec 10 01:50:05 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
[root@host elasticsearch-1.0.1]# java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (amzn-2.4.4.1.34.amzn1-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
For some reason, the same steps work on my local workstation:
$ uname -a
Darwin Valverde.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16
19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
I have tried OpenJDK 6 and 7, Oracle JDK 7, ElasticSearch 1.0.0 and 1.0.1.
None of those worked on the server. Any help is appreciated.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9be47e6e-69fc-47c9-a4b8-c170300ffaf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.