# Elastic Search Case Insensitive for key

**URL:** <https://discuss.elastic.co/t/elastic-search-case-insensitive-for-key/358402>\
**Category:** Elasticsearch\
**Created:** [April 29, 2024, 8:09am UTC](https://discuss.elastic.co/t/elastic-search-case-insensitive-for-key/358402 "2024-04-29T08:09:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [April 29, 2024, 9:12am UTC](https://discuss.elastic.co/t/elastic-search-case-insensitive-for-key/358402/2 "2024-04-29T09:12:14Z")

</div>

HI @Harinder_Singh,

Welcome back. Setting fields names as case insensitive at query time isn't possible [as covered in this post](https://discuss.elastic.co/t/case-insensitive-search-on-fieldnames-not-values/87097). It would be best to normalise your field names to be consistent across all of your documents.

Are you using the [standard analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-analyzer.html) on your documents? If so it makes use of a lowercase filter to convert text to all lowercase, giving you the case insensitive search you need on the values.

Hope that helps!

---

_[View the full topic](https://discuss.elastic.co/t/elastic-search-case-insensitive-for-key/358402)._
