# Soundex Phonetic token filter

**URL:** <https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754>\
**Category:** Elasticsearch\
**Created:** [June 16, 2017, 5:20pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754 "2017-06-16T17:20:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![munotshubham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/munotshubham/32/22663_2.png) [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Post date:** [June 16, 2017, 5:20pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754/1 "2017-06-16T17:20:01Z")

</div>

I'm trying to build tokens for similar sounding names.  
For eg: if I have "Michael" saved as a name  
Can I have "Mike" as one of the tokens for searching?

---

<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 16, 2017, 5:42pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754/2 "2017-06-16T17:42:22Z")

</div>

I don't think that Michael sounds like Mike.

To me it's more a synonym.

---

<div class="post-metadata">

**Author:** ![munotshubham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/munotshubham/32/22663_2.png) [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Post date:** [June 16, 2017, 5:56pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754/3 "2017-06-16T17:56:15Z")

</div>

So is there anything to handle synonyms?

and can you give me an example of what soundex plugin does in Elasticsearch?

---

<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 16, 2017, 6:14pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754/4 "2017-06-16T18:14:48Z")

</div>

> So is there anything to handle synonyms?

> **[Synonym token filter | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html)**

> and can you give me an example of what soundex plugin does in Elasticsearch?

There is one here: [phonetic token filter | Elasticsearch Plugins and Integrations [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-phonetic-token-filter.html)

---

<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 14, 2017, 6:20pm UTC](https://discuss.elastic.co/t/soundex-phonetic-token-filter/89754/5 "2017-07-14T18:20:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
