# Nested not\_analyzed 'raw' field : case insensitive

**URL:** <https://discuss.elastic.co/t/nested-not-analyzed-raw-field-case-insensitive/21947>\
**Category:** Elasticsearch\
**Created:** [February 2, 2015, 9:29am UTC](https://discuss.elastic.co/t/nested-not-analyzed-raw-field-case-insensitive/21947 "2015-02-02T09:29:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jennifer\_Wang](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jennifer\_Wang](https://discuss.elastic.co/u/Jennifer_Wang)\
**Post date:** [February 2, 2015, 9:29am UTC](https://discuss.elastic.co/t/nested-not-analyzed-raw-field-case-insensitive/21947/1 "2015-02-02T09:29:14Z")

</div>

Hello,

I have below mapping for an index,  
I would like to make below 'raw' field search case insensitive and tried  
with [https://gist.github.com/kimchy/1403902](https://gist.github.com/kimchy/1403902). It did not work for me.  
I was using ES 1.3.x.

Anyone could help?

Thanks,

Jennifer

{"mappings":{"data":{"properties":  
{"user":{"type":"nested","properties":  
{"full\_name":{"type":"string",  
"fields":{"raw":{"type":"string","index":"not\_analyzed","fielddata":{"format":"doc\_values"}  
}}}}}}}}}

---

<div class="post-metadata">

**Author:** ![Jennifer\_Wang](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jennifer\_Wang](https://discuss.elastic.co/u/Jennifer_Wang)\
**Post date:** [February 6, 2015, 3:57pm UTC](https://discuss.elastic.co/t/nested-not-analyzed-raw-field-case-insensitive/21947/2 "2015-02-06T15:57:13Z")

</div>

tried myself again. With 1.4.2 it worked for me.

---

<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:** [July 6, 2017, 12:34am UTC](https://discuss.elastic.co/t/nested-not-analyzed-raw-field-case-insensitive/21947/3 "2017-07-06T00:34:27Z")

</div>


