I have an elastic search object in which one field is an array type. now i want to apply a different analyser than standard default one. when i pass analyzer in index definition, it is throwing error. how can i do this?
In the below example, skills contains an array of values. all i want is to apply different analysers and see results. how can i achieve that?
"skills": { "type": "object", "analyzer": "simple" }, "profile": { "type": "text", "analyzer": "simple" }, "job_title": { "type": "text", "analyzer": "simple" }, Getting below error:
{ "error": { "root_cause": [ { "type": "mapper_parsing_exception", "reason": "Mapping definition for [skills] has unsupported parameters: [analyzer : simple]" } ], "type": "mapper_parsing_exception", "reason": "Failed to parse mapping [_doc]: Mapping definition for [skills] has unsupported parameters: [analyzer : simple]", "caused_by": { "type": "mapper_parsing_exception", "reason": "Mapping definition for [skills] has unsupported parameters: [analyzer : simple]" } }, "status": 400 }