# Possible to ingore case in a query on an not\_analzyed field?

**URL:** <https://discuss.elastic.co/t/possible-to-ingore-case-in-a-query-on-an-not-analzyed-field/68252>\
**Category:** Elasticsearch\
**Created:** [December 7, 2016, 7:13am UTC](https://discuss.elastic.co/t/possible-to-ingore-case-in-a-query-on-an-not-analzyed-field/68252 "2016-12-07T07:13:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casieowen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casieowen/32/8734_2.png) [@casieowen](https://discuss.elastic.co/u/casieowen)\
**Post date:** [December 7, 2016, 7:13am UTC](https://discuss.elastic.co/t/possible-to-ingore-case-in-a-query-on-an-not-analzyed-field/68252/1 "2016-12-07T07:13:41Z")

</div>

Hi,

We have a field that is not analyzed and we haven't done any tokenizing on it, but I'm wondering if, at query time, I can ignore case, such that the doc count for Hello and hello, for example, would be the total for both?

Thanks!  
Casie

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 7, 2016, 7:15am UTC](https://discuss.elastic.co/t/possible-to-ingore-case-in-a-query-on-an-not-analzyed-field/68252/2 "2016-12-07T07:15:23Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html) may be what you need.

---

<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:** [January 4, 2017, 7:15am UTC](https://discuss.elastic.co/t/possible-to-ingore-case-in-a-query-on-an-not-analzyed-field/68252/3 "2017-01-04T07:15:27Z")

</div>

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