# Getting null in dynamic mapping field

**URL:** <https://discuss.elastic.co/t/getting-null-in-dynamic-mapping-field/183687>\
**Category:** Kibana\
**Created:** [May 31, 2019, 8:49am UTC](https://discuss.elastic.co/t/getting-null-in-dynamic-mapping-field/183687 "2019-05-31T08:49:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [May 31, 2019, 11:35pm UTC](https://discuss.elastic.co/t/getting-null-in-dynamic-mapping-field/183687/2 "2019-05-31T23:35:29Z")

</div>

Hi there! I found some other threads which look similar to the problem you're having. I think you might need to use a [custom analyzer](https://discuss.elastic.co/t/how-to-index-special-characters-and-search-those-special-characters-in-elasticsearch/42506/2) to prevent those special characters from being stripped. Note that this occurs at index-time, so you may need to create your custom analyzer, apply it to a new index, and then reindex your data to make it searchable the way you want.

Here are some related resources which you might also find helpful:

- [How to Index special characters and Search those special characters in Elasticsearch](https://discuss.elastic.co/t/how-to-index-special-characters-and-search-those-special-characters-in-elasticsearch/42506/2)
- [Analysis and Analyzers docs](https://www.elastic.co/guide/en/elasticsearch/guide/current/analysis-intro.html)
- [Search for special characters](https://discuss.elastic.co/t/search-for-special-characters/114495/5)
- [https://stackoverflow.com/questions/37703017/search-with-special-characters-in-elasticsearch](https://stackoverflow.com/questions/37703017/search-with-special-characters-in-elasticsearch)

---

_[View the full topic](https://discuss.elastic.co/t/getting-null-in-dynamic-mapping-field/183687)._
