# Highlighting problem with keyword normalizer

**URL:** https://discuss.elastic.co/t/highlighting-problem-with-keyword-normalizer/84880
**Category:** Elasticsearch
**Created:** [May 8, 2017, 5:19am UTC](https://discuss.elastic.co/t/highlighting-problem-with-keyword-normalizer/84880 "2017-05-08T05:19:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Davood1659](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davood1659/32/47291_2.png) [@Davood1659](https://discuss.elastic.co/u/Davood1659)
#### Post date: [May 8, 2017, 5:19am UTC](https://discuss.elastic.co/t/highlighting-problem-with-keyword-normalizer/84880/1 "2017-05-08T05:19:35Z")

</div>

Hi,

When i set a normalizer with lowercase filter for a field with keyword data type, the highlighting for this field doesn't work. If i create mapping without setting normalizer property of keyword data type, it works. Because of case insensitive search on keyword field, i set the normalizer property and search query works very well, but highlighting doesn't work anymore.

Do you know why?

---

<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 5, 2017, 5:34am UTC](https://discuss.elastic.co/t/highlighting-problem-with-keyword-normalizer/84880/2 "2017-06-05T05:34:03Z")

</div>

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