title: MapperParsingException [Analyzer [dbl_metaphone] not found for field [phonetic]]
body: <p>I've an index on an Elasticsearch cluster, and I want to support phonetic matching.</p>
  
  <p>This is my request:</p>
  
  <pre><code>curl -XPUT "http://localhost:9200/propertywebsites/_mapping/doc?pretty" -i -d '
  {
  "properties" : {
  "phoneticbuilding" : {
  "type" : "string",
  "fields" : {
  "phonetic" : {
  "type" : "string",
  "analyzer" : "dbl_metaphone"
  }}}}
  }
  '
  </code></pre>
  
  <p>I received this error response:</p>
  
  <pre><code>HTTP/1.1 400 Bad Request
  Content-Type: application/json; charset=UTF-8
  Content-Length: 116
  
  {
    "error" : "MapperParsingException[Analyzer [dbl_metaphone] not found for field [phonetic]]",
    "status" : 400
  }
  </code></pre>
  
  <p>Anyone has any idea about why the dbl_metaphone analyzer couldn't be recognized for phonetic fields?</p>
  
  <p>My elasticsearch's version is <code>elasticsearch-1.7.2</code></p>
  
  <h3>Update 1</h3>
  
  <p>I already have the analyzer as the following</p>
  
  <pre><code>PUT myIndexName/
  {
    "settings": {
      "analysis": {
        "filter": {
          "dbl_metaphone": {
            "type": "phonetic",
            "encoder": "double_metaphone"
          }
        },
        "analyzer": {
          "dbl_metaphone": {
            "tokenizer": "standard",
            "filter": "dbl_metaphone"
          }
        }
      }
    }
  }
  </code></pre>
  
  <h3>Update 2</h3>
  
  <p>Querying this request </p>
  
  <pre><code>curl -XGET "http://localhost:9200/propertywebsites/_settings?pretty"
  </code></pre>
  
  <p>I get the following response:</p>
  
  <pre><code>{
    "propertywebsites" : {
      "settings" : {
        "index" : {
          "creation_date" : "1451838136296",
          "number_of_shards" : "5",
          "number_of_replicas" : "1",
          "version" : {
            "created" : "1070299"
          },
          "uuid" : "KVOuKVgGRBudsSplownrgg",
          "analsis" : {
            "filter" : {
              "dbl_metaphone" : {
                "type" : "phonetic",
                "encoder" : "double_metaphone"
              }
            },
            "analyzer" : {
              "dbl_metaphone" : {
                "filter" : "dbl_metaphone",
                "tokenizer" : "standard"
              }
            }
          }
        }
      }
    }
  }
  </code></pre>