title: elasticsearch do not analyze field
body: <p>I use Elasticsearch (2.4) and I have an index with a field that is, in theory, analyzed on index step. But, in practice, it's not analyzed. I think I miss something, but what ?</p>
  
  <p><strong>The complete index definition :</strong></p>
  
  <pre><code>{
     "test_index": {
        "aliases": {},
        "mappings": {
           "users": {
              "properties": {
                 "name": {
                    "type": "string",
                    "analyzer": "my_analyser"
                 },
                 "id": {
                    "type": "long"
                 }
              }
           }
        },
        "settings": {
           "index": {
              "index_directly": "1",
              "number_of_shards": "1",
              "cron_limit": "50",
              "creation_date": "1496150121337",
              "analysis": {
                 "analyzer": {
                    "standard": {
                       "type": "standard",
                       "max_token_length": "255",
                       "stopwords": ""
                    },
                    "my_analyser": {
                       "type": "custom",
                       "tokenizer": "my_tokenizer"
                    }
                 },
                 "tokenizer": {
                    "my_tokenizer": {
                       "token_chars": [
                          "letter",
                          "digit"
                       ],
                       "min_gram": "3",
                       "type": "ngram",
                       "max_gram": "3"
                    }
                 }
              },
              "fields": {
                 "name": {
                    "type": "text"
                 }
              },
              "number_of_replicas": "0",
              "uuid": "lmwPFWoISlC2knZZn2nNZQ",
              "version": {
                 "created": "2040599"
              }
           }
        },
        "warmers": {}
     }
  }
  </code></pre>
  
  <p><strong>A simple document to index :</strong></p>
  
  <pre><code>{
    "id": 0,
    "name": "John"
  }
  </code></pre>
  
  <p><strong>The result :</strong></p>
  
  <pre><code>{
     "_index": "test_index",
     "_type": "users",
     "_id": "0",
     "_version": 1,
     "found": true,
     "_source": {
        "id": 0,
        "name": "John"
     }
  }
  </code></pre>
  
  <p><strong>What I am expecting :</strong></p>
  
  <pre><code>{
     "_index": "test_index",
     "_type": "users",
     "_id": "0",
     "_version": 1,
     "found": true,
     "_source": {
        "id": 0,
        "name": [
          "Joh",
          "ohn"
        ]
     }
  }
  </code></pre>
  
  <p>I have other fields on this index, and I want my custom analyzer just on <code>name</code> field.</p>