# Case insensitive search on index:"not\_analyzed"

**URL:** <https://discuss.elastic.co/t/case-insensitive-search-on-index-not-analyzed/56951>\
**Category:** Elasticsearch\
**Created:** [August 2, 2016, 5:08am UTC](https://discuss.elastic.co/t/case-insensitive-search-on-index-not-analyzed/56951 "2016-08-02T05:08:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lavakush](https://avatars.discourse-cdn.com/v4/letter/l/b9e5f3/32.png) [@Lavakush](https://discuss.elastic.co/u/Lavakush)\
**Post date:** [August 2, 2016, 5:08am UTC](https://discuss.elastic.co/t/case-insensitive-search-on-index-not-analyzed/56951/1 "2016-08-02T05:08:40Z")

</div>

Hi All,  
I have fields whose indexes like "index":"not\_analyzed"  
on these kinds of fields searching has become case sensitive.  
Is there any way to make it case insensitive?

Thanks  
Lavakush

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 2, 2016, 5:50am UTC](https://discuss.elastic.co/t/case-insensitive-search-on-index-not-analyzed/56951/2 "2016-08-02T05:50:54Z")

</div>

Hi @Lavakush,

this question comes up from time to time. See this thread for a solution:

> [@Searching not analyzed term name and value in case insensitive manner](https://discuss.elastic.co/t/searching-not-analyzed-term-name-and-value-in-case-insensitive-manner/50537):
>
> Searching term name and value in case insensitive manner Present structure - Field Mapping: "NAME": { "type": "string", "index": "not\_analyzed", "store": true } Say Sample Data in Field : Neeraj Problem : Search is now case sensitive, we need to have case insensitive behaviour Search NAME:Neeraj - we are getting result name:neeraj - no result NAME:NEERAJ - no result We want behaviour such that all above queries should return result. Please suggest options to do it. One option is t…

Daniel

---

<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 5, 2017, 10:31pm UTC](https://discuss.elastic.co/t/case-insensitive-search-on-index-not-analyzed/56951/3 "2017-07-05T22:31:00Z")

</div>


