Analysis-phonetic throws ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory]

Hi,

i try to create an index which makes use of the analysis-phonetic
"doublemetaphone" filter.
But i get an exception "NoClassSettingsException[Failed to load class
setting [type] with value [phonetic]]; nested:
ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory];
","status":400}"

Environment
Windows 7 with jdk1.7.0_25
ES -0.90.2 with elasticsearch-analysis-phonetic-1.5.0 installed
-> [2013-06-29 10:00:50,370][INFO ][plugins ] [Miss
America] loaded [analysis-phonetic], sites []

Request:
POST http://localhost.:9200/phoneticindex2/ HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: localhost.:9200
Content-Length: 529
Expect: 100-continue

{
"settings": {
"index": {
"analysis": {
"analyzer": {
"phonanalyzer": {
"tokenizer": "standard",
"filter": [
"standard",
"lowercase",
"my_metaphone"
],
"type": "custom"
}
},
"filter": {
"my_metaphone": {
"encoder": "doublemetaphone",
"replace": true,
"type": "phonetic"
}
}
}
}
}
}

Response:
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
Content-Length: 486

{"error":"RemoteTransportException[[Sugar
Man][inet[/172.17.34.102:9300]][indices/create]]; nested:
IndexCreationException[[phoneticindex2] failed to create index]; nested:
ElasticSearchIllegalArgumentException[failed to find token filter type
[phonetic] for [my_metaphone]]; nested: NoClassSettingsException[Failed to
load class setting [type] with value [phonetic]]; nested:
ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory];
","status":400}

The request looks IMHO like

Any clues?
Thanks Hendrik

--
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.

Yeah. Could you open an issue in phonetic plugin project?

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

Le 29 juin 2013 à 13:20, Hendrik h.j.saly@googlemail.com a écrit :

Hi,

i try to create an index which makes use of the analysis-phonetic "doublemetaphone" filter.
But i get an exception "NoClassSettingsException[Failed to load class setting [type] with value [phonetic]]; nested: ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory]; ","status":400}"

Environment
Windows 7 with jdk1.7.0_25
ES -0.90.2 with elasticsearch-analysis-phonetic-1.5.0 installed
-> [2013-06-29 10:00:50,370][INFO ][plugins ] [Miss America] loaded [analysis-phonetic], sites []

Request:
POST http://localhost.:9200/phoneticindex2/ HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: localhost.:9200
Content-Length: 529
Expect: 100-continue

{
"settings": {
"index": {
"analysis": {
"analyzer": {
"phonanalyzer": {
"tokenizer": "standard",
"filter": [
"standard",
"lowercase",
"my_metaphone"
],
"type": "custom"
}
},
"filter": {
"my_metaphone": {
"encoder": "doublemetaphone",
"replace": true,
"type": "phonetic"
}
}
}
}
}
}

Response:
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
Content-Length: 486

{"error":"RemoteTransportException[[Sugar Man][inet[/172.17.34.102:9300]][indices/create]]; nested: IndexCreationException[[phoneticindex2] failed to create index]; nested: ElasticSearchIllegalArgumentException[failed to find token filter type [phonetic] for [my_metaphone]]; nested: NoClassSettingsException[Failed to load class setting [type] with value [phonetic]]; nested: ClassNotFoundException[org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory]; ","status":400}

The request looks IMHO like https://github.com/elasticsearch/elasticsearch-analysis-phonetic

Any clues?
Thanks Hendrik

--
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.

--
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.