# How to match digits and its spelling in elastic search?

**URL:** <https://discuss.elastic.co/t/how-to-match-digits-and-its-spelling-in-elastic-search/154442>\
**Category:** Elasticsearch\
**Created:** [October 29, 2018, 1:05pm UTC](https://discuss.elastic.co/t/how-to-match-digits-and-its-spelling-in-elastic-search/154442 "2018-10-29T13:05:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samikshawarkari](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@samikshawarkari](https://discuss.elastic.co/u/samikshawarkari)\
**Post date:** [October 29, 2018, 1:05pm UTC](https://discuss.elastic.co/t/how-to-match-digits-and-its-spelling-in-elastic-search/154442/1 "2018-10-29T13:05:41Z")

</div>

Hi,

I am using Kibana and elastic search version 6.1.  
I am new to elastic search and I want to match digits and its spelling (e.g. 4 as four).  
Please help me achieve this.

---

<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:** [October 29, 2018, 4:23pm UTC](https://discuss.elastic.co/t/how-to-match-digits-and-its-spelling-in-elastic-search/154442/2 "2018-10-29T16:23:07Z")

</div>

I wonder if you can use synonyms token filter for that.

---

<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:** [November 26, 2018, 4:23pm UTC](https://discuss.elastic.co/t/how-to-match-digits-and-its-spelling-in-elastic-search/154442/3 "2018-11-26T16:23:08Z")

</div>

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