# Phonetic Token Filter Issues (ES 2.1.1)

**URL:** <https://discuss.elastic.co/t/phonetic-token-filter-issues-es-2-1-1/40623>\
**Category:** Elasticsearch\
**Created:** [February 1, 2016, 9:58am UTC](https://discuss.elastic.co/t/phonetic-token-filter-issues-es-2-1-1/40623 "2016-02-01T09:58:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drippel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drippel/32/44823_2.png) [@drippel](https://discuss.elastic.co/u/drippel)\
**Post date:** [February 1, 2016, 9:58am UTC](https://discuss.elastic.co/t/phonetic-token-filter-issues-es-2-1-1/40623/1 "2016-02-01T09:58:03Z")

</div>

In addition to exact matching option, we need to provide [phonetic search option in multiple languages](https://www.elastic.co/guide/en/elasticsearch/plugins/master/analysis-phonetic-token-filter.html).  
For English this works fine with the `doublemetaphone` encoder, and the same for German with the `haasephonetik` encoder.

Other languages are supposed to be supported only by the `beider_morse` encoder, but we have encountered several issues with it, and the only language that worked well with it in our tests was Spanish:

1. It does not seem to provide proper phonetic functionality for Hebrew, Russian or Romanian. All the examples that we tried - failed.
2. Since the Beider-Morse encoder does not support the "replace" settings parameter, which therefore cannot be set to "false", the result is that the only indexing done is phonetic, so that the original words are lost and cannot be searched for except with the phonetic filter. This issue affects Romanian, Hungarian, French and Polish (but, curiously it does not affect Spanish, Russian or Hebrew).

---

<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:19pm UTC](https://discuss.elastic.co/t/phonetic-token-filter-issues-es-2-1-1/40623/2 "2017-07-05T23:19:57Z")

</div>


