title: ElasticSearch prevent html tags from being searchable
body: <p>I have a text that is tagged by a different application. I don't want queries for these tags to be returned when queried for. </p>
  
  <p>I tried using html_strip but I was still able to search these tags.</p>
  
  <p>Example of the tags could vary but they're similar to <code>&lt;PERSON&gt;Freddy&lt;/PERSON&gt;</code>.
  I also tried with <code>&lt;span&gt;Freddy&lt;/span&gt;</code> and in both results I could search for either <em>span</em> or <em>PERSON</em> and get the result without these words appearing anywhere else.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Index mapping:</p>
  
  <pre><code>{
    "mapping": {
      "properties":{
          "text":{
              "type":"text",
              "analyzer":"my_analyzer"
          }
      }
    },
    "settings": {
      "analysis": {
        "analyzer": {
          "my_analyzer": {
            "tokenizer": "keyword",
            "char_filter": [
              "my_char_filter"
            ]
          }
        },
        "char_filter": {
          "my_char_filter": {
            "type": "html_strip"
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Query</p>
  
  <pre><code>{
      "query":{
          "match":{
              "text":"span"
          }
      },
      "highlight":{
          "fields":{
              "text":{}
          }
      }
  }
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>..
  "hits": [
              {
                  "_index": "my_index",
                  "_type": "wat",
                  "_id": "1",
                  "_score": 0.39556286,
                  "_source": {
                      "text": "Hello &lt;span&gt;Freddy&lt;/span&gt;"
                  },
                  "highlight": {
                      "text": [
                          "Hello &lt;&lt;em&gt;span&lt;/em&gt;&gt;Freddy&lt;/&lt;em&gt;span&lt;/em&gt;&gt;"
                      ]
                  }
              }
          ]
  ...
  </code></pre>