title: Haystack and ElasticSearch only exact search
body: <p>Currently we used Django Haystack and Solr, but now we wanted to switch our Search Backend to ElasticSearch due to the easier configuration in Cluster.</p>
  
  <p>On Solr our Text Field was nGram to have a more fuzzy search and not useing an exact match on words.
  It was configured like this:</p>
  
  <pre><code>&lt;field name="text" type="ngram" indexed="true" stored="true" multiValued="false" /&gt;
  &lt;fieldType name="ngram" class="solr.TextField" &gt;
    &lt;analyzer type="index"&gt;
      &lt;tokenizer class="solr.KeywordTokenizerFactory"/&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;filter class="solr.NGramFilterFactory" minGramSize="3" maxGramSize="15" /&gt;
    &lt;/analyzer&gt;
    &lt;analyzer type="query"&gt;
      &lt;tokenizer class="solr.KeywordTokenizerFactory"/&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
    &lt;/analyzer&gt;
  &lt;/fieldType&gt;
  </code></pre>
  
  <p>Now we try to use ElasticSearch and do the same, but we Stuck since we can't configure the Ngram field like we could do in Solr.
  So it always didn't make correct matches.</p>
  
  <p>What that means.
  We currently Index our Model IDs since every Model starts with a ID greater than 10000, so when i before searched 10001 i would get the Model with the ID 10001 (even with the NGram)
  On ElasticSearch i get nothing, it just couldn't find anything.
  How could I do this.</p>