title: Indexing website/url in Elastic Search
body: <p>I have a <code>website</code> field of a document indexed in elastic search. Example value: <a href="http://example.com">http://example.com</a> . The problem is that when I search for <code>example</code>, the document is not included. How to map correctly the website/url field?</p>
  
  <p>I created the index below:</p>
  
  <pre><code>{
    "settings":{
      "index":{
          "analysis":{
          "analyzer":{
              "analyzer_html":{
                    "type":"custom",
                    "tokenizer": "standard",
                  "filter":"standard",
                  "char_filter": "html_strip"
              }
          }
          }
      }
    },
    "mapping":{
      "blogshops": {
          "properties": {
              "category": {
                  "properties": {
                      "name": {
                          "type": "string"
                      }
                  }
              },
              "reviews": {
                  "properties": {
                      "user": {
                          "properties": {
                              "_id": {
                                  "type": "string"
                              }
                          }
                      }
                  }
              }
          }
      }
    }
  }
  </code></pre>