# Setting up default analyzer in elastic

**URL:** <https://discuss.elastic.co/t/setting-up-default-analyzer-in-elastic/36505>\
**Category:** Elasticsearch\
**Created:** [December 7, 2015, 9:15am UTC](https://discuss.elastic.co/t/setting-up-default-analyzer-in-elastic/36505 "2015-12-07T09:15:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chopper](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Chopper](https://discuss.elastic.co/u/Chopper)\
**Post date:** [December 7, 2015, 9:15am UTC](https://discuss.elastic.co/t/setting-up-default-analyzer-in-elastic/36505/1 "2015-12-07T09:15:04Z")

</div>

Hi,

After each data injection to the elastic, the index of this data is analyzed.  
this is an issue in specific cases when working with Kibana.

Is it possible to set "string" type as not analyzed per elastic cluster?

Thanks  
Yehuda

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 7, 2015, 9:20am UTC](https://discuss.elastic.co/t/setting-up-default-analyzer-in-elastic/36505/2 "2015-12-07T09:20:46Z")

</div>

Yes, you can change the mapping of each field in each index. This is done either when creating the index or via [index templates](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html). If you're using Logstash it creates an index template for you with non-analyzed .raw subfields for all string fields.

---

<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, 11:33pm UTC](https://discuss.elastic.co/t/setting-up-default-analyzer-in-elastic/36505/3 "2017-07-05T23:33:04Z")

</div>


