title: Why don't I get results when I search for partial words in Solr?
body: <p>I am trying to figure out the correct order for my analyzer in Solr but I do get no results when I search for partial words. For instance:</p>
  <p><strong>Query</strong>: Sto</p>
  <p><strong>Desired results</strong>: Stockholm</p>
  <p><strong>Query</strong>: Sweden is</p>
  <p><strong>Desired results</strong>: Sweden is a European city</p>
  <p>I only receive results when I search for the whole meaning, the desired results. I would be thankful for any hints or tips for what may be wrong with what I have done so far</p>
  <pre><code>&lt;fieldType name=&quot;text_general&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot; multiValued=&quot;true&quot;&gt;
          &lt;analyzer type=&quot;index&quot;&gt;
              &lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;/&gt;
              &lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&gt;
              &lt;filter class=&quot;solr.LengthFilterFactory&quot; min=&quot;2&quot; max=&quot;15&quot;/&gt;
              &lt;filter class=&quot;solr.PorterStemFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.FlattenGraphFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.EdgeNGramFilterFactory&quot; minGramSize=&quot;2&quot; maxGramSize=&quot;15&quot;/&gt;
              &lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&gt;
          &lt;/analyzer&gt;
          &lt;analyzer type=&quot;query&quot;&gt;
              &lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;/&gt;
              &lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&gt;
              &lt;filter class=&quot;solr.LengthFilterFactory&quot; min=&quot;2&quot; max=&quot;15&quot;/&gt;
              &lt;filter class=&quot;solr.PorterStemFilterFactory&quot;/&gt;
              &lt;filter class=&quot;solr.SynonymGraphFilterFactory&quot; synonyms=&quot;synonyms.txt&quot; ignoreCase=&quot;true&quot; expand=&quot;true&quot;/&gt;
              &lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&gt;
          &lt;/analyzer&gt;
      &lt;/fieldType&gt;
  </code></pre>