# Jan Ramón is indexed as JanRamón

**URL:** <https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184>\
**Category:** Elasticsearch\
**Created:** [October 25, 2019, 5:29am UTC](https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184 "2019-10-25T05:29:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mku/32/48327_2.png) [@MKU](https://discuss.elastic.co/u/MKU)\
**Post date:** [October 25, 2019, 5:29am UTC](https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184/1 "2019-10-25T05:29:48Z")

</div>

Hi all,  
I noticed that Jan Ramón (any diacritic values in general) is indexed as JanRamón by omitting the space. how do i avoid this?  
This the filter i used.

```auto
"filter": {
"my_ascii_folding": {
"type": "asciifolding",
"preserve_original": "true"
}
},

```

and i use whitespace tokenizer.

-Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 25, 2019, 5:32am UTC](https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184/2 "2019-10-25T05:32:23Z")

</div>

Can you please provide a script to recreate this? That would make it a lot easier to see what is happening.

---

<div class="post-metadata">

**Author:** ![MKU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mku/32/48327_2.png) [@MKU](https://discuss.elastic.co/u/MKU)\
**Post date:** [October 25, 2019, 5:44am UTC](https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184/3 "2019-10-25T05:44:18Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> Can you please provide a script to recreate this? That would make it a lot easier to see what is happening.

HI @Christian_Dahlqvist,  
I was able to figure out what the problem was.  
I used a script to decode base64 and then index to elastic. in script i removed all the white spaces, that was 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:** [November 22, 2019, 5:44am UTC](https://discuss.elastic.co/t/jan-ramon-is-indexed-as-janramon/205184/4 "2019-11-22T05:44:22Z")

</div>

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