# Two characters consider as one

**URL:** <https://discuss.elastic.co/t/two-characters-consider-as-one/180671>\
**Category:** Elasticsearch\
**Created:** [May 11, 2019, 9:18pm UTC](https://discuss.elastic.co/t/two-characters-consider-as-one/180671 "2019-05-11T21:18:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali\_fazeli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ali_fazeli/32/46039_2.png) [@ali\_fazeli](https://discuss.elastic.co/u/ali_fazeli)\
**Post date:** [May 11, 2019, 9:18pm UTC](https://discuss.elastic.co/t/two-characters-consider-as-one/180671/1 "2019-05-11T21:18:46Z")

</div>

Hi

I have an elasticsearch server v.6.3 and an index of 100,000 posts of my wordpress site.

My contents is in arabic and persian languages.  
My problem is that arabic and persian have similars characters that are not realy same charachters but each visitor may use persian characters or arabic one. for example "ی" (persian) and "ي" (arabic).

my posts are not same, some of them typed with arabic characters and some with arabic characters.

for example words:  
العسکری (persian charachters)  
العسكري (arabic charachters)

also visitors my search this arabic word with arabic characters of persian characters.

I want this two characters considerd as one and visitors find the words contain them whether use same character or not

Which analyzer or other tools sould i use?

Sorry for my poor english 🙂

---

<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:** [June 8, 2019, 9:18pm UTC](https://discuss.elastic.co/t/two-characters-consider-as-one/180671/2 "2019-06-08T21:18:49Z")

</div>

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