title: Search for partial words using Solr
body: <p>I'm trying to search for a partial word using Solr, but I can't get it to work.</p>
  
  <p>I'm using this in my <code>schema.xml</code> file.</p>
  
  <pre><code>&lt;fieldType name="text" class="solr.TextField" omitNorms="false"&gt;
    &lt;analyzer type="index"&gt;
        &lt;tokenizer class="solr.NGramTokenizerFactory" minGramSize="3" maxGramSize="15" /&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
    &lt;/analyzer&gt;
    &lt;analyzer type="query"&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
         &lt;filter class="solr.StandardFilterFactory"/&gt;
         &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
         &lt;filter class="solr.PorterStemFilterFactory"/&gt;
         &lt;filter class="solr.WordDelimiterFilterFactory" stemEnglishPossessive="1" splitOnNumerics="1" splitOnCaseChange="1" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="1" preserveOriginal="1"/&gt;
    &lt;/analyzer&gt;
  &lt;/fieldType&gt;
  </code></pre>
  
  <p>Searching for <code>die h</code> won't work, but <code>die hard</code> returns some results.
  I've reindexed the database after the above configuration was added.</p>
  
  <p><a href="https://gist.github.com/044b3df379b60defcde7" rel="noreferrer">Here</a> is the url and output when searching for <code>die hard</code>. The debugger is turned on.</p>
  
  <p><a href="https://gist.github.com/938c8e70db41cb72bbd5" rel="noreferrer">Here</a> is the url and output when searching for <code>die h</code>. The debugger is turned on.</p>
  
  <p>I'm using Solr 3.3. <a href="https://gist.github.com/d56db24c6b581f3f8db2" rel="noreferrer">Here</a> is the rest of the <code>schema.xml</code> file.</p>