title: Highlight part of word with ngram and whitespace analyzers
body: <p>I have an elasticsearch index with the following data:</p>
  
  <p>"The A-Team" (as an example)</p>
  
  <p>My index settings are :</p>
  
  <pre><code>"index": {
      "number_of_shards": "1",
      "provided_name": "tyh.tochniyot",
      "creation_date": "1481039136127",
      "analysis": {
        "analyzer": {
          "whitespace_analyzer": {
            "type": "whitespace"
          },
          "ngram_analyzer": {
            "type": "custom",
            "tokenizer": "ngram_tokenizer"
          }
        },
        "tokenizer": {
          "ngram_tokenizer": {
            "type": "ngram",
            "min_gram": "3",
            "max_gram": "7"
          }
        }
      },
  </code></pre>
  
  <p>When i search for :</p>
  
  <pre><code>_search
  {
  "from": 0,
  "size": 20,
  "track_scores": true,
  "highlight": {
    "fields": {
      "*": {
        "fragment_size": 100,
        "number_of_fragments": 10,
        "require_field_match": false
      }
    }
  },
  "query": {
    "match": {
      "_all": {
        "query": "Tea"
      }
    }
  }
  </code></pre>
  
  <p>I expect to get the highlight result :</p>
  
  <pre><code>    "highlight": {
        "field": [
          "The A-&lt;em&gt;Tea&lt;/em&gt;m"
        ]
  }
  </code></pre>
  
  <p>But i dont get any highlight at all.</p>
  
  <p>The reason i am using whitespace for search and ngram for indexing is that i dont want in search phase to break the word i am searching, like if i am searching for "Team" it will find me "Tea","eam","Team"</p>
  
  <p>Thank you</p>