# Analyzer \[not\_analyzed\] not found for field \[institution\]

**URL:** <https://discuss.elastic.co/t/analyzer-not-analyzed-not-found-for-field-institution/96068>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 9:02am UTC](https://discuss.elastic.co/t/analyzer-not-analyzed-not-found-for-field-institution/96068 "2017-08-07T09:02:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![virk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/virk/32/20861_2.png) [@virk](https://discuss.elastic.co/u/virk)\
**Post date:** [August 7, 2017, 9:02am UTC](https://discuss.elastic.co/t/analyzer-not-analyzed-not-found-for-field-institution/96068/1 "2017-08-07T09:02:35Z")

</div>

I upgraded ES from 1 to 5.\* i am getting this error.  
Anyone can help me please?

`{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"analyzer [not_analyzed] not found for field [institution]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [programs]: analyzer [not_analyzed] not found for field [institution]","caused_by":{"type":"mapper_parsing_exception","reason":"analyzer [not_analyzed] not found for field [institution]"}},"status":400}`

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 7, 2017, 10:34am UTC](https://discuss.elastic.co/t/analyzer-not-analyzed-not-found-for-field-institution/96068/2 "2017-08-07T10:34:20Z")

</div>

I think you should change your field type to keyword instead of text. Then you don't need to define the analyzer property as it's not analyzed.

---

<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:** [September 4, 2017, 10:34am UTC](https://discuss.elastic.co/t/analyzer-not-analyzed-not-found-for-field-institution/96068/3 "2017-09-04T10:34:28Z")

</div>

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