title: Solr Partial And Full String Match
body: <p>I am trying to allow searches on partial strings in Solr so if someone searched for "ppopota" they'd get the same result as if they searched for "hippopotamus." I read the documentation up and down and feel like I have exhausted my options. So far I have the following:</p>
  
  <p>Defining a new field type:</p>
  
  <pre><code>&lt;fieldtype name="testedgengrams" class="solr.TextField"&gt;
     &lt;analyzer&gt;
       &lt;tokenizer class="solr.LowerCaseTokenizerFactory"/&gt;
       &lt;filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="15" side="front"/&gt;
    &lt;/analyzer&gt;
  &lt;/fieldtype&gt;
  </code></pre>
  
  <p>Defining a field of type "testedgengrams":</p>
  
  <pre><code>&lt;field name="text_ngrams" type="testedgengrams" indexed="true" stored="false"/&gt;
  </code></pre>
  
  <p>Copying contents of text_ngrams into text:</p>
  
  <pre><code>&lt;copyField source="text_ngrams" dest="text"/&gt;
  </code></pre>
  
  <p>Alas, that doesn't work. What am I missing?</p>