title: elasticsearch n-gram example clarification
body: <p>With reference to the example quoted here
  <a href="https://www.elastic.co/guide/en/elasticsearch/guide/current/ngrams-compound-words.html" rel="nofollow noreferrer">https://www.elastic.co/guide/en/elasticsearch/guide/current/ngrams-compound-words.html</a></p>
  
  <p>looking for  "Adler" returns results.
  A search for “Adler” becomes a query for the three terms adl, dle, and ler:</p>
  
  <p>But why is the query for "Zdler" returning results even though zdl is not one of the terms ?</p>
  
  <pre><code>GET /my_index/my_type/_search
  {
      "query": {
          "match": {
              "text": {
              "query": "zdler"
              }
            }
          }
  }
  </code></pre>
  
  <p>Applying match query for search on "Adler" returns the record  -- expected.</p>
  
  <p>However, match query on "Zdler" also returns  the record (because dle and ler match). Even setting "minimum_should_match": "100%" returns the record - not expected</p>
  
  <p>Applying term query for search on "Adler" returns nothing -- not expected</p>
  
  <pre><code>POST /my_index/my_type/_search
      {
      "query": {
          "term": {
            "text": {
              "value": "Adler"
            }
          }
        }
      }
  </code></pre>
  
  <p>How do I achieve returning the record only for search on "Adler" and not on "Zdler" ?</p>
  
  <pre><code> "settings": {
    "index": {
      "number_of_shards": "5",
      "provided_name": "my_index",
      "creation_date": "1501069624443",
      "analysis": {
        "filter": {
          "trigrams_filter": {
            "type": "ngram",
            "min_gram": "3",
            "max_gram": "3"
          }
        },
        "analyzer": {
          "trigrams": {
            "filter": [
              "lowercase",
              "trigrams_filter"
            ],
            "type": "custom",
            "tokenizer": "standard"
          }
        }
      },
      "number_of_replicas": "1",
      "uuid": "Z5BXi_RjTACzTsR_-Nu9tw",
      "version": {
        "created": "5040099"
      }
    }
  }
  </code></pre>
  
  <p>and these are the mappings</p>
  
  <pre><code>{
   "my_index": {
  "mappings": {
    "my_type": {
      "properties": {
        "text": {
          "type": "text",
          "analyzer": "trigrams"
        }
      }
    }
  }
  </code></pre>