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

**URL:** <https://discuss.elastic.co/t/analysis-phonetic-throws-classnotfoundexception-org-elasticsearch-index-analysis-phonetic-phonetictokenfilterfactory/12586>\
**Category:** Elasticsearch\
**Created:** [June 29, 2013, 11:20am UTC](https://discuss.elastic.co/t/analysis-phonetic-throws-classnotfoundexception-org-elasticsearch-index-analysis-phonetic-phonetictokenfilterfactory/12586 "2013-06-29T11:20:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hendrik](https://avatars.discourse-cdn.com/v4/letter/h/839c29/32.png) [@Hendrik](https://discuss.elastic.co/u/Hendrik)\
**Post date:** [June 29, 2013, 11:20am UTC](https://discuss.elastic.co/t/analysis-phonetic-throws-classnotfoundexception-org-elasticsearch-index-analysis-phonetic-phonetictokenfilterfactory/12586/1 "2013-06-29T11:20:49Z")

</div>

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](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

> **[elastic/elasticsearch-analysis-phonetic](https://github.com/elastic/elasticsearch-analysis-phonetic)**
>
> elasticsearch-analysis-phonetic - Phonetic Analysis Plugin for Elasticsearch

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 29, 2013, 12:32pm UTC](https://discuss.elastic.co/t/analysis-phonetic-throws-classnotfoundexception-org-elasticsearch-index-analysis-phonetic-phonetictokenfilterfactory/12586/2 "2013-06-29T12:32:35Z")

</div>

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

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

Le 29 juin 2013 à 13:20, Hendrik [h.j.saly@googlemail.com](mailto: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](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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:28am UTC](https://discuss.elastic.co/t/analysis-phonetic-throws-classnotfoundexception-org-elasticsearch-index-analysis-phonetic-phonetictokenfilterfactory/12586/3 "2017-07-06T02:28:55Z")

</div>


