Analyzer [not_analyzed] not found for field [institution]


(Asmat Ullah Virk) #1

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}


(David Pilato) #2

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.


(system) #3

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