Multiple custom analyzers in a single index

Hi I am trying to add multiple custom analyzers to analyzer a specific field.

So my mapping would look like so :

{  
    "mappings": {
      "entity": {
        "properties": {
          "ids": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "fields": {
              "autocomplete_name": {
                "type": "string",
                "analyzer": "edge_Ngram_analyzer",
                "search_analyzer": "whitespace"
              },
              "shingle_name": {
                "type": "string",
                "analyzer": "shingle_analyzer"
              }
            }
          },
          "type": {
            "type": "string",
            "index": "not_analyzed"
          }
        }
      }
    }
}

How can I create the settings which includes the custom analyzers: edge_Ngram_analyzer, and shingle_analyzer ?
(this is an example so please excuse the names if there are analyzers already existing with the same names)

The settings I have been using do not seem to be right in syntax....

Thanks

Ramdev

I solved this problem, there was mistake in my mapping file and command to PUT the mapping in the index.

You'd better share your solution too, mate.
Thanks.