How to enable simple analyzer in elasticsearch

I am very new to elasticsearch i have read few documents about the analyzer. I could not understand most of it. I would like to enable the simple analyzer and test my elasticsearch

You should better explain what you did so far so we can help you fixing your issues.

That said, here is something which could help: https://www.elastic.co/guide/en/elasticsearch/guide/current/using-language-analyzers.html#using-language-analyzers

"mappings": {
"default": {
"dynamic_templates": [
{
"message_field": {
"mapping": {
"index": "analyzed",
"omit_norms": true,
"type": "string"
},
"match": "message",
"match_mapping_type": "string"
}
},
{
"string_fields": {
"mapping": {
"index": "analyzed",
"omit_norms": true,
"type": "string",
"fields": {
"raw": {
"index": "not_analyzed",
"ignore_above": 256,
"type": "string"
}
}
},
"match": "*",
"match_mapping_type": "string"
}
}
],
"_all": {
"enabled": true,
"omit_norms": true
},
"properties": {
"@version": {
"type": "string",
"index": "not_analyzed"
},
"geoip": {
"dynamic": "true",
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
}