title: Solr - Suggester not returning any suggestiions
body: <p>I'm trying to setup the <a href="http://wiki.apache.org/solr/Suggester" rel="nofollow noreferrer">Solr suggester</a> module. </p>
  
  <p>I've followed the <a href="https://cwiki.apache.org/confluence/display/solr/Suggester" rel="nofollow noreferrer">guide</a> and setup my core as such:</p>
  
  <p>solrconfig.xml</p>
  
  <pre><code>&lt;searchComponent class="solr.SpellCheckComponent" name="suggest"&gt;
     &lt;lst name="spellchecker"&gt;
        &lt;str name="name"&gt;suggest&lt;/str&gt;
        &lt;str name="classname"&gt;org.apache.solr.spelling.suggest.Suggester&lt;/str&gt;
        &lt;str name="lookupImpl"&gt;org.apache.solr.spelling.suggest.tst.TSTLookup&lt;/str&gt;
        &lt;str name="field"&gt;city&lt;/str&gt;  &lt;!-- the indexed field to derive suggestions from --&gt;
        &lt;float name="threshold"&gt;0&lt;/float&gt;
        &lt;str name="buildOnCommit"&gt;true&lt;/str&gt;  
     &lt;/lst&gt;
  &lt;/searchComponent&gt;
  
  &lt;requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggest"&gt;
     &lt;lst name="defaults"&gt;
        &lt;str name="spellcheck"&gt;true&lt;/str&gt;
        &lt;str name="spellcheck.dictionary"&gt;suggest&lt;/str&gt;
        &lt;str name="spellcheck.onlyMorePopular"&gt;false&lt;/str&gt;
        &lt;str name="spellcheck.count"&gt;5&lt;/str&gt;
        &lt;str name="spellcheck.collate"&gt;true&lt;/str&gt;
     &lt;/lst&gt;
     &lt;arr name="components"&gt;
        &lt;str&gt;suggest&lt;/str&gt;
     &lt;/arr&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>schema.xml</p>
  
  <pre><code>&lt;types&gt;
  
     &lt;fieldType class="solr.TextField" name="textSpell" positionIncrementGap="100"&gt;
     &lt;analyzer&gt;
        &lt;tokenizer class="solr.StandardTokenizerFactory"/&gt;
        &lt;filter class="solr.StandardFilterFactory"/&gt;
        &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
     &lt;/analyzer&gt;
     &lt;/fieldType&gt;
  
     &lt;/types&gt;
  
     &lt;fields&gt;
         &lt;!--  my other fieldsfields --&gt;
  
         &lt;field name="city" type="textSpell" indexed="true" stored="true"/&gt;
     &lt;/fields&gt;
  </code></pre>
  
  <p>and then rebuild the spellcheck with:</p>
  
  <pre><code>http://localhost:4569/solr/myCore/suggest?q=a&amp;spellcheck=true&amp;spellcheck.build=true
  </code></pre>
  
  <p>and then do a search:</p>
  
  <pre><code>http://localhost:4569/solr/myCore/suggest?q=aberdean&amp;spellcheck=true&amp;spellcheck=on
  </code></pre>
  
  <p>but I always get an empty suggestions in the response:</p>
  
  <pre><code>&lt;response&gt;
      &lt;lst name="responseHeader"&gt;
          &lt;int name="status"&gt;0&lt;/int&gt;
          &lt;int name="QTime"&gt;1&lt;/int&gt;
      &lt;/lst&gt;
      &lt;lst name="spellcheck"&gt;
      &lt;lst name="suggestions"/&gt;
      &lt;/lst&gt;
   &lt;/response&gt;
  </code></pre>
  
  <p>I've checked the suggestions <a href="https://stackoverflow.com/questions/6653186/solr-suggester-not-returning-any-results">in this question</a></p>
  
  <p>Any idea why I'm not getting results? </p>