# Setting specific analyzer for index type

**URL:** <https://discuss.elastic.co/t/setting-specific-analyzer-for-index-type/5868>\
**Category:** Elasticsearch\
**Created:** [November 14, 2011, 6:23pm UTC](https://discuss.elastic.co/t/setting-specific-analyzer-for-index-type/5868 "2011-11-14T18:23:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssk1287](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssk1287/32/3081_2.png) [@ssk1287](https://discuss.elastic.co/u/ssk1287)\
**Post date:** [November 14, 2011, 6:23pm UTC](https://discuss.elastic.co/t/setting-specific-analyzer-for-index-type/5868/1 "2011-11-14T18:23:17Z")

</div>

Is there a way to set up a custom analyzer for a specific index type?  
For instance, If I have two index type "Maths" and "Science", I want  
everything indexed within the "Math" type to be analyzed by  
"MathAnalyzer" and everything going to the "Science" type to be  
analyzed by "ScienceAnalyzer".

---

<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, 3:48am UTC](https://discuss.elastic.co/t/setting-specific-analyzer-for-index-type/5868/2 "2017-07-06T03:48:43Z")

</div>


