Hi!
I was able to correctly install with "bin/plugin -install
elasticsearch/elasticsearch-analysis-phonetic" on a Debian machine but on
the ubuntu it doesn't seems to work.
It corectly installs, but when I try to use it, I receive the following
error:
[ERROR] There has been an error when creating the index -- Elasticsearch
returned:
400 :
{"error":"RemoteTransportException[[Spiral][inet[/10.61.6.74:9300]][indices/create]];
nested: IndexCreationException[[odin_development__nodes] failed to create
index]; nested: ElasticSearchIllegalArgumentException[failed to find token
filter type [phonetic] for [ptbr_phonetic]]; nested:
NoClassSettingsException[Failed to load class setting [type] with value
[phonetic]]; nested:
ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory];
","status":400}
I've already restarted elasticsearch after install but it doesn't works.
The difference between machines:
Debian (works):
$ uname -a
Linux novabusca-devel.ebc 2.6.26-2-xen-amd64 #1 SMP Mon Mar 5 00:38:41 UTC
2012 x86_64 GNU/Linux
$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
$ dpkg -l | grep elastic
ii elasticsearch 0.20.6 Open
Source, Distributed, RESTful Search Engine
/usr/share/elasticsearch/plugins$ ls analysis-phonetic/
commons-codec-1.7.jar elasticsearch-analysis-phonetic-1.6.0.jar
lucene-analyzers-phonetic-4.4.0.jar
Command used for installation:
bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/1.6.0
Ubuntu (doesn't works):
$ uname -a
Linux treis-OptiPlex-3010 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9
00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
$ dpkg -l | grep elastic
ii elasticsearch
0.90.5 all Open Source,
Distributed, RESTful Search Engine
/usr/share/elasticsearch/plugins# ls analysis-phonetic/
commons-codec-1.7.jar elasticsearch-analysis-phonetic-1.6.0.jar
lucene-analyzers-phonetic-4.4.0.jar
Command used for installation:
bin/plugin --install elasticsearch/elasticsearch-analysis-phonetic/1.6.0
--url file:///var/www/elasticsearch-analysis-phonetic-1.6.0.zip
I had to use "--url" since it doesn't download under proxy.
Thanks for any help!
--
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.
For more options, visit https://groups.google.com/groups/opt_out.