title: Root mapping definition has unsupported parameters (mapper_parsing_exception)
body: <p>I am new to Elasticsearch. I have tried different solution provided on Stack Overflow and other websites but they didn't work for me that's why I am posting this question.</p>
  
  <p>I am trying to add <strong>tokenizer": "uax_url_email"</strong> so that I can easily search email with query.</p>
  
  <p>But when I am setting the mapping it Elastic Search is giving me this error:</p>
  
  <blockquote>
    <p>Root mapping definition has unsupported parameters (mapper_parsing_exception)</p>
  </blockquote>
  
  <p>I have tried to delete the index and recreate it but it also didn't help.</p>
  
  <p>My mapping link.</p>
  
  <p><a href="http://localhost:9200/users/user/_mapping" rel="nofollow noreferrer">http://localhost:9200/users/user/_mapping</a></p>
  
  <pre><code>{
  "settings": {
              "analysis": {
                  "analyzer": {
                      "urls-links-emails": {
                          "type": "custom",
                          "tokenizer": "uax_url_email"
                      }
                  }
              }
          },
          "mappings":{
              "user": {
                  "properties": {
                      "id" : {"type": "long"},
                      "first_name" : {"type": "text"},
                      "middle_name" : {"type": "text"},
                      "last_name" : {"type": "text"},
                      "full_name" : {"type": "text"},
                      "image" : {"type": "text"},
                      "email" : {"type": "text", "analyzer": "urls-links-emails"},
                      "mobile_number" : {"type": "text"},
                      "profile_image" : {"type": "text"},
                      "thumbnail" : {"type": "text"},
                      "role" : {"type": "text"},
                      "role_id" : {"type": "byte"},
                      "joined_date" : {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"},
                      "updated_date" : {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"}
                  }
              }
          }
      }
  </code></pre>