title: How can i fix this error Mapper for [description] conflicts with existing mapper:Cannot update parameter [analyzer] from [my_analyzer] to [default]
body: <p>am new to elastic search.please help me out with this problem.</p>
  <p>Am using elastic search version 7.13.2 .</p>
  <p>I created an index with a custom analyzer and filter like this</p>
  <pre><code>PUT /analyzers_test
  {
    &quot;settings&quot;: {
      &quot;analysis&quot;: {
        &quot;analyzer&quot;: {
          &quot;english_stop&quot;:{
            &quot;type&quot;:&quot;standard&quot;,
            &quot;stopwords&quot;:&quot;_english_&quot;
          },
          &quot;my_analyzer&quot;:{
            &quot;type&quot;:&quot;custom&quot;,
            &quot;tokenizer&quot;:&quot;standard&quot;,
            &quot;char_filter&quot;:[&quot;html_strip&quot;
              ],
              &quot;filter&quot;:[
                &quot;lowercase&quot;,
                &quot;trim&quot;,
                &quot;my_stemmer&quot;]
          }
        },
        &quot;filter&quot;: {
          &quot;my_stemmer&quot;:{
            &quot;type&quot;:&quot;stemmer&quot;,
            &quot;name&quot;:&quot;english&quot;
          }
        }
      }
    }
  }
  </code></pre>
  <p>Then i created a mapping for the document i will have and specified my custom analyzer i created earlier (there is no document in the index yet)
  like so:</p>
  <pre><code>PUT /analyzers_test/_mapping
  {
      &quot;properties&quot;: {
        &quot;description&quot;:{
          &quot;type&quot;: &quot;text&quot;,
          &quot;analyzer&quot;: &quot;my_analyzer&quot;
        },
        &quot;teaser&quot;:{
          &quot;type&quot;: &quot;text&quot;
        
        }
      }
  }
  
  </code></pre>
  <p>When i try try to create a document like so</p>
  <pre><code>POST /analyzers_test/1
  {
    &quot;description&quot;:&quot;drinking&quot;,
    &quot;teaser&quot;:&quot;drinking&quot;
  }
  
  </code></pre>
  <p>i get the following error</p>
  <pre><code>{
    &quot;error&quot; : {
      &quot;root_cause&quot; : [
        {
          &quot;type&quot; : &quot;illegal_argument_exception&quot;,
          &quot;reason&quot; : &quot;Mapper for [description] conflicts with existing mapper:\n\tCannot update parameter [analyzer] from [my_analyzer] to [default]&quot;
        }
      ],
      &quot;type&quot; : &quot;illegal_argument_exception&quot;,
      &quot;reason&quot; : &quot;Mapper for [description] conflicts with existing mapper:\n\tCannot update parameter [analyzer] from [my_analyzer] to [default]&quot;
    },
    &quot;status&quot; : 400
  }
  
  </code></pre>