title: Embedded Elasticsearch Server - Installing Plugins
body: <p>I am using Elasticsearch 2.4.3 in my Spring Boot Application with following properties</p>
  
  <pre><code>spring.data.elasticsearch.cluster-name=Testenvironment
  spring.data.elasticsearch.repositories.enabled=false
  spring.data.elasticsearch.properties.http.enabled=true
  spring.data.elasticsearch.properties.node.name=developertesting
  spring.data.elasticsearch.properties.path.data=target/elasticsearch-data/
  </code></pre>
  
  <p>I have to use a phonetic filter but for this I have to install the plugin with my pom.xml</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.elasticsearch&lt;/groupId&gt;
          &lt;artifactId&gt;elasticsearch-analysis-phonetic&lt;/artifactId&gt;
          &lt;version&gt;2.7.0&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>But when I create my indices with the following plugin</p>
  
  <pre><code>        "my_metaphone":{
              "type": "phonetic",
              "encoder": "beidermorse",
              "languageset":"german",
              "rule_type":"exact",
              "replace": false
          }
  </code></pre>
  
  <p>the server response with the error, that type "phonetic" is unknown.....</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Elasticsearch is running as <strong>embedded cluster</strong></p>