# Phonetic plugin

**URL:** <https://discuss.elastic.co/t/phonetic-plugin/41405>\
**Category:** Elasticsearch\
**Created:** [February 10, 2016, 5:05pm UTC](https://discuss.elastic.co/t/phonetic-plugin/41405 "2016-02-10T17:05:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerome\_David](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerome_david/32/5182_2.png) [@Jerome\_David](https://discuss.elastic.co/u/Jerome_David)\
**Post date:** [February 10, 2016, 5:05pm UTC](https://discuss.elastic.co/t/phonetic-plugin/41405/1 "2016-02-10T17:05:05Z")

</div>

I would like to use the phonetic analysis.

I am using elasticsearch v2.2.0.

I installed the analysis\_phonetic plugin:

`bin\plugin install analysis-phonetic`

It seems to be installed correctly.

`bin\plugin list` returns `analysis-phonetic`

However, when I try to add an analysis filter:  
`"phonetic_filter_en": { "type": "phonetic", "encoder": "beidermorse", "languageset": ["english"] }`

I get an error saying that the type "phonetic" is unknown.  
`{"error":{"root_cause":[{"type":"index_creation_exception","reason":"failed to create index"}],"type":"illegal_argument_exception","reason":"Unknown TokenFilter type [phonetic] for [phonetic_filter_en]"},"status":400}`

I don't know why I am getting this error.

---

<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:** [February 10, 2016, 6:13pm UTC](https://discuss.elastic.co/t/phonetic-plugin/41405/2 "2016-02-10T18:13:48Z")

</div>

Did you restart the nodes?

---

<div class="post-metadata">

**Author:** ![Jerome\_David](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerome_david/32/5182_2.png) [@Jerome\_David](https://discuss.elastic.co/u/Jerome_David)\
**Post date:** [February 10, 2016, 6:14pm UTC](https://discuss.elastic.co/t/phonetic-plugin/41405/3 "2016-02-10T18:14:43Z")

</div>

I found out why.  
Elasticsearch had been started with `-Des.path.plugins=...`

Running `bin\plugin -Des.path.plugins=...` to install the plugin fixed the problem.

---

<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 5, 2017, 11:17pm UTC](https://discuss.elastic.co/t/phonetic-plugin/41405/4 "2017-07-05T23:17:31Z")

</div>


